git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277100 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -73,7 +73,7 @@ public class P4Resolve extends P4Base { | |||||
| break; | break; | ||||
| } | } | ||||
| } | } | ||||
| if (found == false) { | |||||
| if (!found) { | |||||
| throw new BuildException("Unacceptable value for resolve mode"); | throw new BuildException("Unacceptable value for resolve mode"); | ||||
| } | } | ||||
| this.resolvemode = resolvemode; | this.resolvemode = resolvemode; | ||||
| @@ -40,7 +40,7 @@ import com.jcraft.jsch.Session; | |||||
| */ | */ | ||||
| public class SSHExec extends SSHBase { | public class SSHExec extends SSHBase { | ||||
| private final int BUFFER_SIZE = 1024; | |||||
| private static final int BUFFER_SIZE = 1024; | |||||
| /** the command to execute via ssh */ | /** the command to execute via ssh */ | ||||
| private String command = null; | private String command = null; | ||||
| @@ -37,6 +37,9 @@ import org.apache.tools.ant.BuildException; | |||||
| */ | */ | ||||
| public class StarTeamCheckin extends TreeBasedTask { | public class StarTeamCheckin extends TreeBasedTask { | ||||
| /** | |||||
| * Constructor for StarTeamCheckin. | |||||
| */ | |||||
| public StarTeamCheckin() { | public StarTeamCheckin() { | ||||
| // we want this to have a false default, unlike for Checkin. | // we want this to have a false default, unlike for Checkin. | ||||
| setRecursive(false); | setRecursive(false); | ||||
| @@ -211,7 +211,7 @@ public class StarTeamCheckout extends TreeBasedTask { | |||||
| * @param raw the unconfigured <code>View</code> | * @param raw the unconfigured <code>View</code> | ||||
| * | * | ||||
| * @return the snapshot <code>View</code> appropriately configured. | * @return the snapshot <code>View</code> appropriately configured. | ||||
| * @exception BuildException | |||||
| * @exception BuildException on error | |||||
| */ | */ | ||||
| protected View createSnapshotView(View raw) throws BuildException { | protected View createSnapshotView(View raw) throws BuildException { | ||||