commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1083065 - in /commons/proper/net/trunk/src/main/java/org/apache/commons/net: ftp/FTP.java io/DotTerminatedMessageReader.java
Date Fri, 18 Mar 2011 20:53:45 GMT
Author: sebb
Date: Fri Mar 18 20:53:45 2011
New Revision: 1083065

URL: http://svn.apache.org/viewvc?rev=1083065&view=rev
Log:
Trailing spaces

Modified:
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTP.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/DotTerminatedMessageReader.java

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTP.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTP.java?rev=1083065&r1=1083064&r2=1083065&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTP.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTP.java Fri Mar 18
20:53:45 2011
@@ -1446,7 +1446,7 @@ public class FTP extends SocketClient
      * level of access, use {@link org.apache.commons.net.ftp.FTPClient}
      * , which will handle all low level details for you.
      * <p>
-     * @param pathname  The pathname to list, 
+     * @param pathname  The pathname to list,
      * may be {@code null} in which case the command is sent with no parameters
      * @return The reply code received from the server.
      * @exception FTPConnectionClosedException

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/DotTerminatedMessageReader.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/DotTerminatedMessageReader.java?rev=1083065&r1=1083064&r2=1083065&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/DotTerminatedMessageReader.java
(original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/DotTerminatedMessageReader.java
Fri Mar 18 20:53:45 2011
@@ -97,7 +97,7 @@ public final class DotTerminatedMessageR
                     if (chint == DOT) { // Have DOT DOT
                         // no need to reset as we want to lose the first DOT
                         return chint; // i.e. DOT
-                    } 
+                    }
                     if (chint == CR) { // Have DOT CR
                         chint = super.read();
                         if (chint == -1) { // Still only DOT CR - should not happen
@@ -222,7 +222,7 @@ public final class DotTerminatedMessageR
     }
 
     /**
-     * Read a line of text. 
+     * Read a line of text.
      * A line is considered to be terminated by carriage return followed immediately by a
linefeed.
      * This contrasts with BufferedReader which also allows other combinations.
      * @since 3.0
@@ -232,7 +232,7 @@ public final class DotTerminatedMessageR
         StringBuilder sb = new StringBuilder();
         int intch;
         synchronized(lock) { // make thread-safe (hopefully!)
-            while((intch = read()) != -1) 
+            while((intch = read()) != -1)
             {
                 if (intch == LF && atBeginning) {
                     return sb.substring(0, sb.length()-1);



Mime
View raw message