git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@476575 13f79535-47bb-0310-9956-ffa450edef68master
@@ -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) | protected void executeRetryable(RetryHandler h, Retryable r, String descr) | ||||
throws IOException { | throws IOException { | ||||
h.execute(r, descr); | h.execute(r, descr); | ||||
@@ -83,7 +83,9 @@ public class RExecTask extends Task { | |||||
* It handles the common attributes for both. | * It handles the common attributes for both. | ||||
*/ | */ | ||||
public class RExecSubTask { | public class RExecSubTask { | ||||
// CheckStyle:VisibilityModifier OFF - bc | |||||
protected String taskString = ""; | protected String taskString = ""; | ||||
// CheckStyle:VisibilityModifier ON | |||||
/** | /** | ||||
* Execute the subtask. | * Execute the subtask. | ||||
@@ -57,6 +57,7 @@ import org.apache.tools.ant.util.ProxySetup; | |||||
*/ | */ | ||||
public class SetProxy extends Task { | public class SetProxy extends Task { | ||||
// CheckStyle:VisibilityModifier OFF - bc | |||||
/** | /** | ||||
* proxy details | * proxy details | ||||
*/ | */ | ||||
@@ -67,6 +68,8 @@ public class SetProxy extends Task { | |||||
*/ | */ | ||||
protected int proxyPort = 80; | protected int proxyPort = 80; | ||||
// CheckStyle:VisibilityModifier ON | |||||
/** | /** | ||||
* socks host. | * socks host. | ||||
*/ | */ | ||||
@@ -221,7 +221,9 @@ public class TelnetTask extends Task { | |||||
* It handles the common attributes for both. | * It handles the common attributes for both. | ||||
*/ | */ | ||||
public class TelnetSubTask { | public class TelnetSubTask { | ||||
// CheckStyle:VisibilityModifier OFF - bc | |||||
protected String taskString = ""; | protected String taskString = ""; | ||||
// CheckStyle:VisibilityModifier ON | |||||
/** | /** | ||||
* Execute the subtask. | * Execute the subtask. | ||||
* @param telnet the client | * @param telnet the client | ||||