Browse Source

checkstyle

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@476575 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 18 years ago
parent
commit
691dfe87dc
4 changed files with 15 additions and 0 deletions
  1. +8
    -0
      src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java
  2. +2
    -0
      src/main/org/apache/tools/ant/taskdefs/optional/net/RExecTask.java
  3. +3
    -0
      src/main/org/apache/tools/ant/taskdefs/optional/net/SetProxy.java
  4. +2
    -0
      src/main/org/apache/tools/ant/taskdefs/optional/net/TelnetTask.java

+ 8
- 0
src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java View File

@@ -1527,6 +1527,14 @@ public class FTP
}
}

/**
* Executable a retryable object.
* @param h the retry hander.
* @param r the object that should be retried until it succeeds
* or the number of retrys is reached.
* @param descr a description of the command that is being run.
* @throws IOException if there is a problem.
*/
protected void executeRetryable(RetryHandler h, Retryable r, String descr)
throws IOException {
h.execute(r, descr);


+ 2
- 0
src/main/org/apache/tools/ant/taskdefs/optional/net/RExecTask.java View File

@@ -83,7 +83,9 @@ public class RExecTask extends Task {
* It handles the common attributes for both.
*/
public class RExecSubTask {
// CheckStyle:VisibilityModifier OFF - bc
protected String taskString = "";
// CheckStyle:VisibilityModifier ON

/**
* Execute the subtask.


+ 3
- 0
src/main/org/apache/tools/ant/taskdefs/optional/net/SetProxy.java View File

@@ -57,6 +57,7 @@ import org.apache.tools.ant.util.ProxySetup;
*/
public class SetProxy extends Task {

// CheckStyle:VisibilityModifier OFF - bc
/**
* proxy details
*/
@@ -67,6 +68,8 @@ public class SetProxy extends Task {
*/
protected int proxyPort = 80;

// CheckStyle:VisibilityModifier ON

/**
* socks host.
*/


+ 2
- 0
src/main/org/apache/tools/ant/taskdefs/optional/net/TelnetTask.java View File

@@ -221,7 +221,9 @@ public class TelnetTask extends Task {
* It handles the common attributes for both.
*/
public class TelnetSubTask {
// CheckStyle:VisibilityModifier OFF - bc
protected String taskString = "";
// CheckStyle:VisibilityModifier ON
/**
* Execute the subtask.
* @param telnet the client


Loading…
Cancel
Save