ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r808398 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTask.java
Date Thu, 27 Aug 2009 12:29:28 GMT
Author: bodewig
Date: Thu Aug 27 12:29:27 2009
New Revision: 808398

URL: http://svn.apache.org/viewvc?rev=808398&view=rev
Log:
make stuff needed by FTPTaskMirrorImpl public

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTask.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTask.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTask.java?rev=808398&r1=808397&r2=808398&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTask.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/net/FTPTask.java Thu Aug
27 12:29:27 2009
@@ -55,14 +55,14 @@
  * @since Ant 1.3
  */
 public class FTPTask extends Task implements FTPTaskConfig {
-    static final int SEND_FILES = 0;
-    static final int GET_FILES = 1;
-    static final int DEL_FILES = 2;
-    static final int LIST_FILES = 3;
-    static final int MK_DIR = 4;
-    static final int CHMOD = 5;
-    static final int RM_DIR = 6;
-    static final int SITE_CMD = 7;
+    public static final int SEND_FILES = 0;
+    public static final int GET_FILES = 1;
+    public static final int DEL_FILES = 2;
+    public static final int LIST_FILES = 3;
+    public static final int MK_DIR = 4;
+    public static final int CHMOD = 5;
+    public static final int RM_DIR = 6;
+    public static final int SITE_CMD = 7;
 
     /** adjust uptodate calculations where server timestamps are HH:mm and client's
      * are HH:mm:ss */
@@ -110,7 +110,7 @@
     private ClassLoader mirrorLoader;
     private FTPTaskMirror delegate = null;
 
-    static final String[] ACTION_STRS = {
+    public static final String[] ACTION_STRS = {
         "sending",
         "getting",
         "deleting",
@@ -121,7 +121,7 @@
         "site"
     };
 
-    static final String[] COMPLETED_ACTION_STRS = {
+    public static final String[] COMPLETED_ACTION_STRS = {
         "sent",
         "retrieved",
         "deleted",
@@ -132,7 +132,7 @@
         "site command executed"
     };
 
-    static final String[] ACTION_TARGET_STRS = {
+    public static final String[] ACTION_TARGET_STRS = {
         "files",
         "files",
         "files",
@@ -653,7 +653,7 @@
     /**
      * @return Returns the timestampGranularity.
      */
-    Granularity getTimestampGranularity() {
+    public Granularity getTimestampGranularity() {
         return timestampGranularity;
     }
     /**



Mime
View raw message