commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1081475 - /commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/
Date Mon, 14 Mar 2011 17:07:54 GMT
Author: sebb
Date: Mon Mar 14 17:07:53 2011
New Revision: 1081475

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

Modified:
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFileEntryParser.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFileFilter.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFileFilters.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPListParseEngine.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPReply.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSCommand.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSServerSocketFactory.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSSocketFactory.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSTrustManager.java

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFileEntryParser.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFileEntryParser.java?rev=1081475&r1=1081474&r2=1081475&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFileEntryParser.java
(original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFileEntryParser.java
Mon Mar 14 17:07:53 2011
@@ -73,7 +73,7 @@ import java.util.List;
  *
  * For an alternative approach, see the {@link FTPListParseEngine} class
  * which provides iterative access.
- * 
+ *
  * @author <a href="mailto:scohen@apache.org">Steve Cohen</a>
  * @version $Id$
  * @see org.apache.commons.net.ftp.FTPFile

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFileFilter.java?rev=1081475&r1=1081474&r2=1081475&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFileFilter.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFileFilter.java Mon
Mar 14 17:07:53 2011
@@ -13,7 +13,7 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- * 
+ *
  */
 
 package org.apache.commons.net.ftp;
@@ -25,7 +25,7 @@ package org.apache.commons.net.ftp;
 public interface FTPFileFilter {
     /**
      * Checks if an FTPFile entry should be included or not.
-     * 
+     *
      * @param file entry to be checked for inclusion. May be <code>null</code>.
      * @return <code>true</code> if the file is to be included, <code>false</code>
otherwise
      */

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFileFilters.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFileFilters.java?rev=1081475&r1=1081474&r2=1081475&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFileFilters.java
(original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFileFilters.java
Mon Mar 14 17:07:53 2011
@@ -13,7 +13,7 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- * 
+ *
  */
 
 package org.apache.commons.net.ftp;

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPListParseEngine.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPListParseEngine.java?rev=1081475&r1=1081474&r2=1081475&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPListParseEngine.java
(original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPListParseEngine.java
Mon Mar 14 17:07:53 2011
@@ -102,7 +102,7 @@ public class FTPListParseEngine {
         this.parser.preParse(this.entries);
         resetIterator();
     }
-    
+
     /**
      * Internal method for reading the input into the <code>entries</code> list.
      * After this method has completed, <code>entries</code> will contain a
@@ -128,7 +128,7 @@ public class FTPListParseEngine {
         {
             reader = new BufferedReader(new InputStreamReader(stream, encoding));
         }
-        
+
         String line = this.parser.readNextEntry(reader);
 
         while (line != null)
@@ -157,9 +157,9 @@ public class FTPListParseEngine {
      * objects starting at the current position of this iterator within its
      * list and at least the number of elements which  exist in the list at
      * and after its current position.
-     * <p><b> 
-     * NOTE:</b> This array may contain null members if any of the 
-     * individual file listings failed to parse.  The caller should 
+     * <p><b>
+     * NOTE:</b> This array may contain null members if any of the
+     * individual file listings failed to parse.  The caller should
      * check each entry for null before referencing it.
      */
     public FTPFile[] getNext(int quantityRequested) {
@@ -196,9 +196,9 @@ public class FTPListParseEngine {
      * list and at least the number of elements which  exist in the list at
      * and after its current position.  This array will be in the same order
      * as the underlying list (not reversed).
-     * <p><b> 
-     * NOTE:</b> This array may contain null members if any of the 
-     * individual file listings failed to parse.  The caller should 
+     * <p><b>
+     * NOTE:</b> This array may contain null members if any of the
+     * individual file listings failed to parse.  The caller should
      * check each entry for null before referencing it.
      */
     public FTPFile[] getPrevious(int quantityRequested) {
@@ -219,9 +219,9 @@ public class FTPListParseEngine {
      *
      * @return an array of FTPFile objects containing the whole list of
      *         files returned by the server as read by this object's parser.
-     * <p><b> 
-     * NOTE:</b> This array may contain null members if any of the 
-     * individual file listings failed to parse.  The caller should 
+     * <p><b>
+     * NOTE:</b> This array may contain null members if any of the
+     * individual file listings failed to parse.  The caller should
      * check each entry for null before referencing it.
      * @exception IOException
      */
@@ -235,16 +235,16 @@ public class FTPListParseEngine {
      * Returns an array of FTPFile objects containing the whole list of
      * files returned by the server as read by this object's parser.
      * The files are filtered before being added to the array.
-     * 
+     *
      * @param filter FTPFileFilter, must not be <code>null</code>.
-     * 
+     *
      * @return an array of FTPFile objects containing the whole list of
      *         files returned by the server as read by this object's parser.
-     * <p><b> 
-     * NOTE:</b> This array may contain null members if any of the 
-     * individual file listings failed to parse.  The caller should 
+     * <p><b>
+     * NOTE:</b> This array may contain null members if any of the
+     * individual file listings failed to parse.  The caller should
      * check each entry for null before referencing it, or use the
-     * a filter such as {@link FTPFileFilters#NON_NULL} which does not 
+     * a filter such as {@link FTPFileFilters#NON_NULL} which does not
      * allow null entries.
      * @since 2.2
      * @exception IOException

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPReply.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPReply.java?rev=1081475&r1=1081474&r2=1081475&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPReply.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPReply.java Mon Mar
14 17:07:53 2011
@@ -117,7 +117,7 @@ public final class FTPReply
     public static final int PAGE_TYPE_UNKNOWN = CODE_551;
     public static final int STORAGE_ALLOCATION_EXCEEDED = CODE_552;
     public static final int FILE_NAME_NOT_ALLOWED = CODE_553;
-    
+
     // FTPS Reply Codes
     /** @since 2.0 */
     public static final int CODE_234 = 234;
@@ -139,7 +139,7 @@ public final class FTPReply
     public static final int CODE_535 = 535;
     /** @since 2.0 */
     public static final int CODE_536 = 536;
-    
+
     /** @since 2.0 */
     public static final int SECURITY_DATA_EXCHANGE_COMPLETE = CODE_234;
     /** @since 2.0 */
@@ -160,7 +160,7 @@ public final class FTPReply
     public static final int FAILED_SECURITY_CHECK = CODE_535;
     /** @since 2.0 */
     public static final int REQUESTED_PROT_LEVEL_NOT_SUPPORTED = CODE_536;
-    
+
     // IPv6 error codes
     // Note this is also used as an FTPS error code reply
     /** @since 2.2 */

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSClient.java?rev=1081475&r1=1081474&r2=1081475&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSClient.java Mon
Mar 14 17:07:53 2011
@@ -41,7 +41,7 @@ import javax.net.ssl.TrustManager;
  * @since 2.0
  */
 public class FTPSClient extends FTPClient {
-    
+
     /** The value that I can set in PROT command  (C = Clear, P = Protected) */
     private static final String[] PROT_COMMAND_VALUE = {"C","E","S","P"};
     /** Default PROT Command */
@@ -211,7 +211,7 @@ public class FTPSClient extends FTPClien
                 TrustManager trustMgr = getTrustManager();
                 context.init(
                         keyMgr == null ? null : new KeyManager[] { keyMgr } ,
-                        trustMgr == null ? null : new TrustManager[] { trustMgr } , 
+                        trustMgr == null ? null : new TrustManager[] { trustMgr } ,
                         null); // use default random implementation
             } catch (KeyManagementException e) {
                 IOException ioe = new IOException("Could not initialize SSL context");
@@ -431,7 +431,7 @@ public class FTPSClient extends FTPClien
      * <b>N.B.</b> the method calls
      *  {@link #setSocketFactory(javax.net.SocketFactory)} and
      *  {@link #setServerSocketFactory(javax.net.ServerSocketFactory)}
-     *  
+     *
      * @param prot Data Channel Protection Level.
      * @throws SSLException If the server reply code does not equal "200".
      * @throws IOException If an I/O error occurs while sending
@@ -557,7 +557,7 @@ public class FTPSClient extends FTPClien
      * connection parameters to the default values.
      * <p>
      * Calls {@code setSocketFactory(null)} and {@code setServerSocketFactory(null)}
-     * to reset the factories that may have been changed during the session, 
+     * to reset the factories that may have been changed during the session,
      * e.g. by {@link #execPROT(String)}
      * @exception IOException If an error occurs while disconnecting.
      * @since 3.0

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSCommand.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSCommand.java?rev=1081475&r1=1081474&r2=1081475&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSCommand.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSCommand.java Mon
Mar 14 17:07:53 2011
@@ -41,7 +41,7 @@ public final class FTPSCommand {
      * command code.
      * <p>
      * @param command The command code.
-     * @return The FTPS command string corresponding to a specified 
+     * @return The FTPS command string corresponding to a specified
      *  command code.
      */
     public static final String getCommand(int command) {

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSServerSocketFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSServerSocketFactory.java?rev=1081475&r1=1081474&r2=1081475&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSServerSocketFactory.java
(original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSServerSocketFactory.java
Mon Mar 14 17:07:53 2011
@@ -55,7 +55,7 @@ public class FTPSServerSocketFactory ext
 
     /**
      * Sets the socket so newly accepted connections will use SSL client mode.
-     * 
+     *
      * @param socket the SSLServerSocket to initialise
      * @return the socket
      * @throws ClassCastException if socket is not an instance of SSLServerSocket

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSSocketFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSSocketFactory.java?rev=1081475&r1=1081474&r2=1081475&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSSocketFactory.java
(original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSSocketFactory.java
Mon Mar 14 17:07:53 2011
@@ -26,7 +26,7 @@ import javax.net.SocketFactory;
 import javax.net.ssl.SSLContext;
 
 /**
- * 
+ *
  * Implementation of org.apache.commons.net.SocketFactory
  *
  * @since 2.0
@@ -34,11 +34,11 @@ import javax.net.ssl.SSLContext;
 public class FTPSSocketFactory extends SocketFactory {
 
     private final SSLContext context;
-    
+
     public FTPSSocketFactory(SSLContext context) {
         this.context = context;
     }
-    
+
     @Override
     public Socket createSocket(String address, int port) throws UnknownHostException, IOException
{
         return this.context.getSocketFactory().createSocket(address, port);

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSTrustManager.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSTrustManager.java?rev=1081475&r1=1081474&r2=1081475&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSTrustManager.java
(original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPSTrustManager.java
Mon Mar 14 17:07:53 2011
@@ -25,7 +25,7 @@ import javax.net.ssl.X509TrustManager;
 
 /**
  * Custom {@link TrustManager} implementation.
- * 
+ *
  * @version $Id$
  * @since 2.0
  */



Mime
View raw message