commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1489533 [1/2] - in /commons/proper/net/trunk: ./ src/changes/ src/main/assembly/ src/main/java/examples/ src/main/java/examples/ftp/ src/main/java/org/apache/commons/net/ src/main/java/org/apache/commons/net/ftp/ src/main/java/org/apache/c...
Date Tue, 04 Jun 2013 17:49:20 GMT
Author: sebb
Date: Tue Jun  4 17:49:00 2013
New Revision: 1489533

URL: http://svn.apache.org/r1489533
Log:
Trailing spaces (no tabs found)

Modified:
    commons/proper/net/trunk/checkstyle-suppressions.xml
    commons/proper/net/trunk/checkstyle.xml
    commons/proper/net/trunk/pom.xml
    commons/proper/net/trunk/src/changes/changes.xml
    commons/proper/net/trunk/src/main/assembly/bin.xml
    commons/proper/net/trunk/src/main/assembly/src.xml
    commons/proper/net/trunk/src/main/java/examples/Main.java
    commons/proper/net/trunk/src/main/java/examples/ftp/FTPClientExample.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/DatagramSocketClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/DefaultSocketFactory.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/SocketClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClientConfig.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPCmd.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPHTTPClient.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/FTPSSocketFactory.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/MLSxEntryParser.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/AuthenticatingIMAPClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAP.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAPCommand.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAPReply.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/Util.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/Article.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/ArticlePointer.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/NNTPClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/ThreadContainer.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/Threader.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Client.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Command.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3SClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTP.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPCommand.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/Telnet.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetClient.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/Base64.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/Charsets.java
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/SubnetUtils.java
    commons/proper/net/trunk/src/site/xdoc/code-standards.xml
    commons/proper/net/trunk/src/site/xdoc/faq.xml
    commons/proper/net/trunk/src/site/xdoc/index.xml
    commons/proper/net/trunk/src/site/xdoc/mail-lists.xml
    commons/proper/net/trunk/src/site/xdoc/migration.xml
    commons/proper/net/trunk/src/site/xdoc/tasks.xml
    commons/proper/net/trunk/src/test/java/org/apache/commons/net/SocketClientFunctionalTest.java
    commons/proper/net/trunk/src/test/java/org/apache/commons/net/SocketClientTest.java
    commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java
    commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientTest.java
    commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/DownloadListings.java
    commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/MLSDComparison.java
    commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParserTest.java
    commons/proper/net/trunk/src/test/java/org/apache/commons/net/imap/IMAPTest.java
    commons/proper/net/trunk/src/test/java/org/apache/commons/net/io/ToNetASCIIInputStreamTest.java
    commons/proper/net/trunk/src/test/java/org/apache/commons/net/util/Base64Test.java

Modified: commons/proper/net/trunk/checkstyle-suppressions.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/checkstyle-suppressions.xml?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/checkstyle-suppressions.xml (original)
+++ commons/proper/net/trunk/checkstyle-suppressions.xml Tue Jun  4 17:49:00 2013
@@ -19,7 +19,7 @@ limitations under the License.
 <!DOCTYPE suppressions PUBLIC
     "-//Puppy Crawl//DTD Suppressions 1.1//EN"
     "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
-    
+
 <suppressions>
     <!-- On Windows, it appears that Checkstyle matches files using \ delims -->
     <suppress checks="JavadocPackage" files="[/\\]examples[/\\].*\.java"/>

Modified: commons/proper/net/trunk/checkstyle.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/checkstyle.xml?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/checkstyle.xml (original)
+++ commons/proper/net/trunk/checkstyle.xml Tue Jun  4 17:49:00 2013
@@ -42,16 +42,16 @@ limitations under the License.
       <property name="allowUnchecked" value="true"/>
     </module>
      -->
- <!-- 
+ <!--
     <module name="JavadocMethod">
       <property name="scope" value="public"/>
       <property name="allowUndeclaredRTE" value="true"/>
       <property name="allowMissingJavadoc" value="true"/>
       <property name="allowMissingParamTags" value="true"/>
-      <property name="allowMissingThrowsTags" value="true"/> 
+      <property name="allowMissingThrowsTags" value="true"/>
     </module>
- --> 
+ -->
  </module>
 </module>
-                        
+
 

Modified: commons/proper/net/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/pom.xml?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/pom.xml (original)
+++ commons/proper/net/trunk/pom.xml Tue Jun  4 17:49:00 2013
@@ -29,8 +29,8 @@
     <artifactId>commons-net</artifactId>
     <version>3.3-SNAPSHOT</version>
     <name>Commons Net</name>
-    <!-- N.B. the description content is deliberately not indented 
-     ! to improve the layout of the Release Notes generated by mvn changes:announcement-generate 
+    <!-- N.B. the description content is deliberately not indented
+     ! to improve the layout of the Release Notes generated by mvn changes:announcement-generate
     -->
     <description>
 Apache Commons Net library contains a collection of network utilities and protocol implementations.
@@ -142,7 +142,7 @@ Supported protocols include: Echo, Finge
         <commons.release.2.desc>(Requires Java 1.3 or later)</commons.release.2.desc>
         <commons.jira.id>NET</commons.jira.id>
         <commons.jira.pid>12310487</commons.jira.pid>
-    </properties> 
+    </properties>
 
     <build>
         <plugins>
@@ -215,8 +215,8 @@ Supported protocols include: Echo, Finge
                                     </manifest>
                                     <fileset dir="target/classes" includes="org/apache/commons/net/ftp/**,org/apache/commons/net/*,org/apache/commons/net/io/*,org/apache/commons/net/util/*" />
                                 </jar>
-                                <!-- 
-                                    Create the binary examples jar, which will be added to the binary zip/tgz, 
+                                <!--
+                                    Create the binary examples jar, which will be added to the binary zip/tgz,
                                     but not deployed independently to Maven
                                 -->
                                 <jar destfile="target/commons-net-examples-${project.version}.jar">

Modified: commons/proper/net/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/changes/changes.xml?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/changes/changes.xml (original)
+++ commons/proper/net/trunk/src/changes/changes.xml Tue Jun  4 17:49:00 2013
@@ -21,7 +21,7 @@
 This file is also used by the maven-changes-plugin to generate the release notes.
 Useful ways of finding items to add to this file are:
 
-1.  Add items when you fix a bug or add a feature (this makes the 
+1.  Add items when you fix a bug or add a feature (this makes the
 release process easy :-).
 
 2.  Do a JIRA search for tickets closed since the previous release.
@@ -33,7 +33,7 @@ To generate the release notes from this 
 
 mvn changes:announcement-generate -Prelease-notes [-Dchanges.version=nnn]
 
-then tweak the formatting if necessary 
+then tweak the formatting if necessary
 and commit
 
 The <action> type attribute can be add,update,fix,remove.
@@ -45,16 +45,16 @@ The <action> type attribute can be add,u
         <author email="dev@commons.apache.org">Apache Commons devlopers</author>
     </properties>
 
-    <!-- NOTE: 
+    <!-- NOTE:
     The description below is specially formatted so as to improve the layout of the generated release notes:
     The parsing process removes all line feeds, replacing them with a single space.
     The Velocity template in resources/templates has been enhanced to replace pairs of adjacent spaces
     with a new-line in the release notes. (These spaces are ignored when displaying HTML).
     If the output is not quite correct, check for invisible trailing spaces!
-    
+
     N.B. The release notes template groups actions by type, and only extracts data for the current release.
     The changes report outputs actions in the order they appear in this file.
-    
+
     To regenerate the release notes:
     mvn changes:announcement-generate -Prelease-notes [-Dchanges.version=nnn]
 
@@ -361,7 +361,7 @@ KeyManagerUtils can be used to provide c
             </action>
             <action issue="NET-273" dev="sebb" type="add">
             FEAT response parsing. Added FTPClient methods: boolean hasFeature(feature [,option]),
-            String fetaureValue(feature), String[] featureValues(feature) 
+            String fetaureValue(feature), String[] featureValues(feature)
             </action>
             <action issue="NET-379" dev="sebb" type="add">
             FTPClient - support for processing arbitrary commands that only use the control channel
@@ -532,8 +532,8 @@ This is primarily a maintenance release,
             Fix parsing to allow for new-style DOS listing using 24hr clock rather than AM/PM
             </action>
             <action issue="NET-338" dev="sebb" type="add">
-            ftp.FTPClient.initiateListParsing(String parserKey, String pathname) 
-            can call createFileEntryParser with null systemName. 
+            ftp.FTPClient.initiateListParsing(String parserKey, String pathname)
+            can call createFileEntryParser with null systemName.
             Fix this by adding getSystemType() which does not return null, and deprecating getSystemName().
             </action>
             <action issue="NET-244" dev="sebb" type="add">
@@ -654,7 +654,7 @@ This is primarily a maintenance release,
                 Javadoc fixes, improvements, and refactoring.
             </action>
             <action issue="NET-245" dev="rwinston" type="fix">
-                Apply MFMT patch 
+                Apply MFMT patch
             </action>
             <action issue="NET-279" dev="rwinston" type="fix">
                 Fix copying of reply lines collection
@@ -754,11 +754,11 @@ This is primarily a maintenance release,
                 Added WindowSizeOptionHandler for TelnetClient. Thanks to yuvalkashtan@gmail.com
             </action>
             <action dev="rwinston" type="update">
-                Refactored *Client classes under net/ package into separate subpackages, and move PrintCommandListener 
+                Refactored *Client classes under net/ package into separate subpackages, and move PrintCommandListener
                 out of the examples/ package.
             </action>
             <action dev="rwinston" type="add">
-                Added an ant target to the Maven build to generate an FTP-only jar file, for clients who 
+                Added an ant target to the Maven build to generate an FTP-only jar file, for clients who
                 wish to use only FTP-based functionality.
             </action>
             <action dev="rwinston" type="update">
@@ -832,7 +832,7 @@ This is primarily a maintenance release,
             <action dev="sebb" type="fix" issue="NET-225">
                 FTPFileEntryParserImpl.preParse() doesn't remove unparsable entries at the end of the file list
             </action>
-        </release>    
+        </release>
 
 
 <!-- 1.5.0 has not yet been released, so comment out the section until it is ready for release -->
@@ -848,7 +848,7 @@ This is primarily a maintenance release,
             <action dev="rwinston" type="fix"
                 issue="NET-73">
                 TelnetInputStream.java: Fixing another
-                potential deadlock for 
+                potential deadlock for
                 telnet and FTP (patch courtesy Rob Hasselbaum).
             </action>
             <action dev="dfs" type="update" issue="NET-57">
@@ -883,7 +883,7 @@ This is primarily a maintenance release,
             </action>
             <action dev="scohen" type="fix" issue="NET-62">
                 DefaultFTPFileEntryParserFactory.java:
-                Wrap 
+                Wrap
                 NoClassDefFoundError in FTP parser exception
                 when ORO is not available.
             </action>
@@ -906,7 +906,7 @@ This is primarily a maintenance release,
                 Article.java: Fix minor issues with NNTP
                 parsing.
             </action>
-        </release> 
+        </release>
 -->
 
 
@@ -1004,7 +1004,7 @@ This is primarily a maintenance release,
             </action>
             <action dev="dfs" type="fix">
                 Fix TelnetClient zombie thread issue
-            </action>    
+            </action>
 
 
         </release>
@@ -1021,24 +1021,24 @@ This is primarily a maintenance release,
         <release version="1.2.2" date="June 25, 2004" description="fix release">
             <action dev="scohen" type="fix">
                 fixed bug in the way FTPClient.listFiles worked when a directory was not
-                specified.  Current directory was not being 'remembered'.  This was most 
+                specified.  Current directory was not being 'remembered'.  This was most
                 problematic in the dependent ftp task of Ant.
             </action>
             <action dev="scohen" type="fix">
                 fixed handling of certain unusual "special" file types in the Unix parser.
             </action>
-        </release>    
+        </release>
 
         <release version="1.2.1" date="May 6, 2004" description="fix release">
             <action dev="scohen" type="fix">
                 changed code that rendered package uncompilable under JDK 1.2
             </action>
-        </release>    
+        </release>
 
         <release version="1.2.0" date="April 30, 2004" description="autodetection of system for listings">
             <action dev="scohen" type="fix">
                 Mario Ivankovits mario@ops.co.at added
-                functionality supporting correct handling of the &quot;dirstyle&quot; 
+                functionality supporting correct handling of the &quot;dirstyle&quot;
                 attribute of NT and OS400 servers that allows them to mimic Unix ftp servers.
                 and a bug fix affecting handling of sticky and suid bits on Unix FTP servers.
             </action>
@@ -1046,7 +1046,7 @@ This is primarily a maintenance release,
                 Mario Ivankovits mario@ops.co.at added parser for OS400.
             </action>
             <action dev="jbrekke,scohen" type="fix">
-                Added a functional junit test testing list parsing against real servers 
+                Added a functional junit test testing list parsing against real servers
                 and fix several    bugs found through this test.
             </action>
             <action dev="dfs" type="add">
@@ -1069,11 +1069,11 @@ This is primarily a maintenance release,
             </action>
         </release>
 
-<!-- Not yet released; probably never will be 
+<!-- Not yet released; probably never will be
         <release version="1.1.1" date="TBD" description="last jdk1.1 compatible release">
             <action dev="scohen" type="fix">
                 Removed all JDK 1.1 incompatibilities that had been introduced
-                unintentionally in previous versions.  Release 1.1.1 is the last 
+                unintentionally in previous versions.  Release 1.1.1 is the last
                 JDK 1.1 compatible release.  Any future 1.1.x maintenance releases
                 will remain JDK !.1 compatible, but version 1.2 may break
                 compatibility and will be guaranteed to work with only J2SE 1.2
@@ -1148,8 +1148,8 @@ This is primarily a maintenance release,
                 Added a migration document for moving from NetComponents to Commons/Net.
             </action>
             <action dev="brekke" type="fix">
-                Moved the ftp2 tree with tests to a proposal directory and setup 
-                a build for that code.  This can grow in this area so users don't 
+                Moved the ftp2 tree with tests to a proposal directory and setup
+                a build for that code.  This can grow in this area so users don't
                 think it is production ready.
             </action>
             <action dev="dfs" type="fix">
@@ -1171,8 +1171,8 @@ This is primarily a maintenance release,
                 Patch for restarting FTP file transfers.  The offset was not
                 being sent immediately before the data transfer command on
                 account.  The bug was apparently introduced in NetComponents
-                when it was decided to always send a PORT command before each data 
-                transfer to avoid socket reuse problems on Windows.  
+                when it was decided to always send a PORT command before each data
+                transfer to avoid socket reuse problems on Windows.
                 From: Tapan Karecha ( tapan@india.hp.com ).
             </action>
             <action dev="dfs" type="fix">

Modified: commons/proper/net/trunk/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/assembly/bin.xml?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/assembly/bin.xml (original)
+++ commons/proper/net/trunk/src/main/assembly/bin.xml Tue Jun  4 17:49:00 2013
@@ -15,8 +15,8 @@ Licensed to the Apache Software Foundati
  See the License for the specific language governing permissions and
  limitations under the License.
 -->
-<assembly 
-  xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" 
+<assembly
+  xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
     <id>bin</id>

Modified: commons/proper/net/trunk/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/assembly/src.xml?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/assembly/src.xml (original)
+++ commons/proper/net/trunk/src/main/assembly/src.xml Tue Jun  4 17:49:00 2013
@@ -15,8 +15,8 @@ Licensed to the Apache Software Foundati
  See the License for the specific language governing permissions and
  limitations under the License.
 -->
-<assembly 
-  xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" 
+<assembly
+  xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
   <id>src</id>

Modified: commons/proper/net/trunk/src/main/java/examples/Main.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/examples/Main.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/examples/Main.java (original)
+++ commons/proper/net/trunk/src/main/java/examples/Main.java Tue Jun  4 17:49:00 2013
@@ -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 examples;
@@ -33,11 +33,11 @@ public class Main {
      * Lists available classes, and provides shorthand invocation.
      * For example:<br/>
      * <code>java -jar commons-net-examples-m.n.jar FTPClientExample -l host user password</code>
-     * 
+     *
      * @param args the first argument is used to name the class; remaining arguments
      * are passed to the target class.
-     * @throws Exception 
-     * @throws Exception 
+     * @throws Exception
+     * @throws Exception
      */
     public static void main(String[] args) throws Exception  {
         if (args.length==0) {
@@ -56,7 +56,7 @@ public class Main {
                 while (e.hasMoreElements()) {
                   JarEntry je = e.nextElement();
                   String name = je.getName();
-                  if (!name.endsWith(".class") 
+                  if (!name.endsWith(".class")
                           || name.contains("$") // subclasses
                           || name.equals("examples/nntp/NNTPUtils.class") // no main class
                           || name.equals("examples/util/IOUtil.class") // no main class

Modified: commons/proper/net/trunk/src/main/java/examples/ftp/FTPClientExample.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/examples/ftp/FTPClientExample.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/examples/ftp/FTPClientExample.java (original)
+++ commons/proper/net/trunk/src/main/java/examples/ftp/FTPClientExample.java Tue Jun  4 17:49:00 2013
@@ -157,7 +157,7 @@ public final class FTPClientExample
                 trustmgr = args[++base];
             }
             else if (args[base].equals("-PrH")) {
-                proxyHost = args[++base]; 
+                proxyHost = args[++base];
                 String parts[] = proxyHost.split(":");
                 if (parts.length == 2){
                     proxyHost=parts[0];

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/DatagramSocketClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/DatagramSocketClient.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/DatagramSocketClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/DatagramSocketClient.java Tue Jun  4 17:49:00 2013
@@ -55,7 +55,7 @@ public abstract class DatagramSocketClie
      ***/
     private static final DatagramSocketFactory __DEFAULT_SOCKET_FACTORY =
         new DefaultDatagramSocketFactory();
-    
+
     /**
      * Charset to use for byte IO.
      */
@@ -283,7 +283,7 @@ public abstract class DatagramSocketClie
 
     /**
      * Gets the charset name.
-     * 
+     *
      * @return the charset name.
      * @since 3.3
      * TODO Will be deprecated once the code requires Java 1.6 as a mininmum
@@ -294,7 +294,7 @@ public abstract class DatagramSocketClie
 
     /**
      * Gets the charset.
-     * 
+     *
      * @return the charset.
      * @since 3.3
      */
@@ -304,7 +304,7 @@ public abstract class DatagramSocketClie
 
     /**
      * Sets the charset.
-     * 
+     *
      * @param charset the charset.
      * @since 3.3
      */

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/DefaultSocketFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/DefaultSocketFactory.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/DefaultSocketFactory.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/DefaultSocketFactory.java Tue Jun  4 17:49:00 2013
@@ -55,7 +55,7 @@ public class DefaultSocketFactory extend
 
     /**
      * A constructor for sockets with proxy support.
-     * 
+     *
      * @param proxy The Proxy to use when creating new Sockets.
      * @since 3.2
      */
@@ -66,7 +66,7 @@ public class DefaultSocketFactory extend
 
     /**
      * Creates an unconnected Socket.
-     * 
+     *
      * @return A new unconnected Socket.
      * @exception IOException If an I/O error occurs while creating the Socket.
      * @since 3.2

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/SocketClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/SocketClient.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/SocketClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/SocketClient.java Tue Jun  4 17:49:00 2013
@@ -107,7 +107,7 @@ public abstract class SocketClient
 
     /** The proxy to use when connecting. */
     private Proxy connProxy;
-    
+
     /**
      * Charset to use for byte IO.
      */
@@ -116,7 +116,7 @@ public abstract class SocketClient
     /**
      * Default constructor for SocketClient.  Initializes
      * _socket_ to null, _timeout_ to 0, _defaultPort to 0,
-     * _isConnected_ to false, charset to {@code Charset.defaultCharset()} 
+     * _isConnected_ to false, charset to {@code Charset.defaultCharset()}
      * and _socketFactory_ to a shared instance of
      * {@link org.apache.commons.net.DefaultSocketFactory}.
      */
@@ -458,7 +458,7 @@ public abstract class SocketClient
      * by {@link #connect connect()}.
      * <p>
      * To set the initial timeout, use {@link #setDefaultTimeout(int)} instead.
-     * 
+     *
      * @param timeout  The timeout in milliseconds to use for the currently
      *                 open socket connection.
      * @exception SocketException If the operation fails.
@@ -484,7 +484,7 @@ public abstract class SocketClient
     /**
      * Get the current sendBuffer size
      * @return the size, or -1 if not initialised
-     * @since 3.0 
+     * @since 3.0
      */
     protected int getSendBufferSize(){
         return sendBufferSize;
@@ -504,7 +504,7 @@ public abstract class SocketClient
     /**
      * Get the current receivedBuffer size
      * @return the size, or -1 if not initialised
-     * @since 3.0 
+     * @since 3.0
      */
     protected int getReceiveBufferSize(){
         return receiveBufferSize;
@@ -748,7 +748,7 @@ public abstract class SocketClient
 
 
     /**
-     * Adds a ProtocolCommandListener. 
+     * Adds a ProtocolCommandListener.
      *
      * @param listener  The ProtocolCommandListener to add.
      * @since 3.0
@@ -769,7 +769,7 @@ public abstract class SocketClient
 
     /**
      * If there are any listeners, send them the reply details.
-     * 
+     *
      * @param replyCode the code extracted from the reply
      * @param reply the full reply text
      * @since 3.0
@@ -782,7 +782,7 @@ public abstract class SocketClient
 
     /**
      * If there are any listeners, send them the command details.
-     * 
+     *
      * @param command the command name
      * @param message the complete message, including command name
      * @since 3.0
@@ -803,7 +803,7 @@ public abstract class SocketClient
     /**
      * Subclasses can override this if they need to provide their own
      * instance field for backwards compatibilty.
-     * 
+     *
      * @return the CommandSupport instance, may be {@code null}
      * @since 3.0
      */
@@ -815,7 +815,7 @@ public abstract class SocketClient
      * Sets the proxy for use with all the connections.
      * The proxy is used for connections established after the
      * call to this method.
-     * 
+     *
      * @param proxy the new proxy for connections.
      * @since 3.2
      */
@@ -834,10 +834,10 @@ public abstract class SocketClient
 
     /**
      * Gets the charset name.
-     * 
+     *
      * @return the charset.
      * @since 3.3
-     * TODO Will be deprecated once the code requires Java 1.6 as a mininmum 
+     * TODO Will be deprecated once the code requires Java 1.6 as a mininmum
      */
     public String getCharsetName() {
         return charset.name();
@@ -845,7 +845,7 @@ public abstract class SocketClient
 
     /**
      * Gets the charset.
-     * 
+     *
      * @return the charset.
      * @since 3.3
      */
@@ -855,7 +855,7 @@ public abstract class SocketClient
 
     /**
      * Sets the charset.
-     * 
+     *
      * @param charset the charset.
      * @since 3.3
      */

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java Tue Jun  4 17:49:00 2013
@@ -492,17 +492,17 @@ implements Configurable
     /**
      * Parse the pathname from a CWD reply.
      * <p>
-     * According to RFC959 (http://www.ietf.org/rfc/rfc959.txt), 
+     * According to RFC959 (http://www.ietf.org/rfc/rfc959.txt),
      * it should be the same as for MKD i.e.
      * {@code 257<space>"<directory-name>"[<space>commentary]}
      * where any double-quotes in {@code <directory-name>} are doubled.
      * Unlike MKD, the commentary is optional.
      * <p>
      * However, see NET-442 for an exception.
-     * 
+     *
      * @param reply
-     * @return the pathname, without enclosing quotes, 
-     * or the full string after the reply code and space if the syntax is invalid 
+     * @return the pathname, without enclosing quotes,
+     * or the full string after the reply code and space if the syntax is invalid
      * (i.e. enclosing quotes are missing or embedded quotes are not doubled)
      */
     // package protected for access by test cases
@@ -570,11 +570,11 @@ implements Configurable
                 // reply is a local address, but target is not - assume NAT box changed the PASV reply
                 if (host.isSiteLocalAddress()) {
                     InetAddress remote = getRemoteAddress();
-                    if (!remote.isSiteLocalAddress()){ 
+                    if (!remote.isSiteLocalAddress()){
                         String hostAddress = remote.getHostAddress();
                         fireReplyReceived(0,
                                     "[Replacing site local address "+__passiveHost+" with "+hostAddress+"]\n");
-                        __passiveHost = hostAddress;                    
+                        __passiveHost = hostAddress;
                     }
                 }
             } catch (UnknownHostException e) { // Should not happen as we are passing in an IP address
@@ -624,7 +624,7 @@ implements Configurable
     {
         return _storeFile(command.getCommand(), remote, local);
     }
-    
+
     /**
      * @since 3.1
      */
@@ -816,7 +816,7 @@ implements Configurable
                         return null;
                     }
                 }
-    
+
                 if ((__restartOffset > 0) && !restart(__restartOffset)) {
                     return null;
                 }
@@ -833,7 +833,7 @@ implements Configurable
                     server.setSoTimeout(__dataTimeout);
                 }
                 socket = server.accept();
-                
+
                 // Ensure the timeout is set before any commands are issued on the new socket
                 if (__dataTimeout >= 0) {
                     socket.setSoTimeout(__dataTimeout);
@@ -1399,11 +1399,11 @@ implements Configurable
             return getLocalAddress();
         }
     }
-    
+
     /**
      * Get the reported host address for active mode EPRT/PORT commands;
      * allows override of {@link #getHostAddress()}.
-     * 
+     *
      * Useful for FTP Client behind Firewall NAT.
      * <p>
      * @return __reportActiveExternalHost if non-null, else getHostAddress();
@@ -1833,7 +1833,7 @@ implements Configurable
      *      of the client being idle or some other reason causing the server
      *      to send FTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception org.apache.commons.net.io.CopyStreamException  
+     * @exception org.apache.commons.net.io.CopyStreamException
      *      If an I/O error occurs while actually
      *      transferring the file.  The CopyStreamException allows you to
      *      determine the number of bytes transferred and the IOException
@@ -1965,7 +1965,7 @@ implements Configurable
      *      of the client being idle or some other reason causing the server
      *      to send FTP reply code 421.  This exception may be caught either
      *      as an IOException or independently as itself.
-     * @exception org.apache.commons.net.io.CopyStreamException  
+     * @exception org.apache.commons.net.io.CopyStreamException
      *      If an I/O error occurs while actually
      *      transferring the file.  The CopyStreamException allows you to
      *      determine the number of bytes transferred and the IOException
@@ -2510,16 +2510,16 @@ implements Configurable
 
     /**
      * Sets the restart offset for file transfers.
-     * <p>  
+     * <p>
      * The restart command is not sent to the server immediately.
-     * It is sent when a data connection is created as part of a 
+     * It is sent when a data connection is created as part of a
      * subsequent command.
      * The restart marker is reset to zero after use.
      * </p>
      * <p>
      * <b>Note: This method should only be invoked immediately prior to
      * the transfer to which it applies.</b>
-     * 
+     *
      * @param offset  The offset into the remote file at which to start the
      *           next file transfer.  This must be a value greater than or
      *           equal to zero.
@@ -3653,7 +3653,7 @@ implements Configurable
 
     private InputStream getBufferedInputStream(InputStream inputStream) {
         if (__bufferSize > 0) {
-            return new BufferedInputStream(inputStream, __bufferSize);            
+            return new BufferedInputStream(inputStream, __bufferSize);
         }
         return new BufferedInputStream(inputStream);
     }
@@ -3701,7 +3701,7 @@ implements Configurable
                     parent.__getReplyNoReport();
                 }
             } finally {
-                parent.setSoTimeout(currentSoTimeout);                
+                parent.setSoTimeout(currentSoTimeout);
             }
         }
 
@@ -3732,7 +3732,7 @@ implements Configurable
      * Enables or disables automatic server encoding detection (only UTF-8 supported).
      * <p>
      * Does not affect existing connections; must be invoked before a connection is established.
-     * 
+     *
      * @param autodetect If true, automatic server encoding detection will be enabled.
      */
     public void setAutodetectUTF8(boolean autodetect)

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClientConfig.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClientConfig.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClientConfig.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClientConfig.java Tue Jun  4 17:49:00 2013
@@ -132,7 +132,7 @@ import java.util.TreeMap;
  *    f.login(username, password);
  *    FTPFile[] files = listFiles(directory);
  * </pre>
- * 
+ *
  * @since 1.4
  * @see org.apache.commons.net.ftp.Configurable
  * @see org.apache.commons.net.ftp.FTPClient

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPCmd.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPCmd.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPCmd.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPCmd.java Tue Jun  4 17:49:00 2013
@@ -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;
@@ -65,7 +65,7 @@ public enum FTPCmd {
     ;
 
     // Aliases
-    
+
     public static final FTPCmd ABORT = ABOR;
     public static final FTPCmd ACCOUNT = ACCT;
     public static final FTPCmd ALLOCATE = ALLO;

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPHTTPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPHTTPClient.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPHTTPClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPHTTPClient.java Tue Jun  4 17:49:00 2013
@@ -70,7 +70,7 @@ public class FTPHTTPClient extends FTPCl
     // Not strictly necessary, but Clirr complains even though there is a super-impl
     @Override
     @Deprecated
-    protected Socket _openDataConnection_(int command, String arg) 
+    protected Socket _openDataConnection_(int command, String arg)
     throws IOException {
         return super._openDataConnection_(command, arg);
     }
@@ -82,7 +82,7 @@ public class FTPHTTPClient extends FTPCl
      * @since 3.1
      */
     @Override
-    protected Socket _openDataConnection_(String command, String arg) 
+    protected Socket _openDataConnection_(String command, String arg)
     throws IOException {
         //Force local passive mode, active mode not supported by through proxy
         if (getDataConnectionMode() != PASSIVE_LOCAL_DATA_CONNECTION_MODE) {
@@ -91,7 +91,7 @@ public class FTPHTTPClient extends FTPCl
 
         final boolean isInet6Address = getRemoteAddress() instanceof Inet6Address;
         String passiveHost = null;
-        
+
         boolean attemptEPSV = isUseEPSVwithIPv4() || isInet6Address;
         if (attemptEPSV && epsv() == FTPReply.ENTERING_EPSV_MODE) {
             _parseExtendedPassiveModeReply(_replyLines.get(0));

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=1489533&r1=1489532&r2=1489533&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 Tue Jun  4 17:49:00 2013
@@ -108,7 +108,7 @@ public class FTPSClient extends FTPClien
 
     /**
      * Constructor for FTPSClient, calls {@link #FTPSClient(String, boolean)}.
-     * 
+     *
      * Sets protocol to {@link #DEFAULT_PROTOCOL} - i.e. TLS - and security mode to explicit (isImplicit = false)
      */
     public FTPSClient() {
@@ -126,7 +126,7 @@ public class FTPSClient extends FTPClien
 
     /**
      * Constructor for FTPSClient, using explict mode, calls {@link #FTPSClient(String, boolean)}.
-     * 
+     *
      * @param protocol the protocol to use
      */
     public FTPSClient(String protocol) {
@@ -451,7 +451,7 @@ public class FTPSClient extends FTPClien
     /**
      * PBSZ command. pbsz value: 0 to (2^32)-1 decimal integer.
      * Issues the command and parses the response to return the negotiated value.
-     * 
+     *
      * @param pbsz Protection Buffer Size.
      * @throws SSLException If the server reply code does not equal "200".
      * @throws IOException If an I/O error occurs while sending
@@ -472,7 +472,7 @@ public class FTPSClient extends FTPClien
         }
         return minvalue;
     }
-    
+
     /**
      * PROT command.
      * <ul>
@@ -485,7 +485,7 @@ public class FTPSClient extends FTPClien
      *  {@link #setSocketFactory(javax.net.SocketFactory)} and
      *  {@link #setServerSocketFactory(javax.net.ServerSocketFactory)}
      *
-     * @param prot Data Channel Protection Level, if {@code null}, use {@link #DEFAULT_PROT}. 
+     * @param prot Data Channel Protection Level, if {@code null}, use {@link #DEFAULT_PROT}.
      * @throws SSLException If the server reply code does not equal  {@code 200}.
      * @throws IOException If an I/O error occurs while sending
      * the command.
@@ -527,7 +527,7 @@ public class FTPSClient extends FTPClien
 
     /**
      * Send an FTP command.
-     * A successful CCC (Clear Command Channel) command causes the underlying {@link SSLSocket} 
+     * A successful CCC (Clear Command Channel) command causes the underlying {@link SSLSocket}
      * instance to be assigned to a plain {@link Socket}
      * @param command The FTP command.
      * @return server reply.
@@ -625,10 +625,10 @@ public class FTPSClient extends FTPClien
     /**
     * Performs any custom initialization for a newly created SSLSocket (before
     * the SSL handshake happens).
-    * Called by {@link #_openDataConnection_(int, String)} immediately 
+    * Called by {@link #_openDataConnection_(int, String)} immediately
     * after creating the socket.
     * The default implementation is a no-op
-    * @throws IOException 
+    * @throws IOException
     * @since 3.1
     */
     protected void _prepareDataSocket_(Socket socket)
@@ -815,7 +815,7 @@ public class FTPSClient extends FTPClien
      */
     private String extractPrefixedData(String prefix, String reply) {
         int idx = reply.indexOf(prefix);
-        if (idx == -1) { 
+        if (idx == -1) {
             return null;
         }
         // N.B. Cannot use trim before substring as leading space would affect the offset.

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=1489533&r1=1489532&r2=1489533&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 Tue Jun  4 17:49:00 2013
@@ -85,7 +85,7 @@ public class FTPSSocketFactory extends S
     public java.net.ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) throws IOException {
         return this.init(this.context.getServerSocketFactory().createServerSocket(port, backlog, ifAddress));
     }
-        
+
     /** @deprecated  (2.2) use {@link FTPSServerSocketFactory#init(java.net.ServerSocket)} */
     @SuppressWarnings("unused")
     @Deprecated

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImpl.java Tue Jun  4 17:49:00 2013
@@ -65,7 +65,7 @@ public class FTPTimestampParserImpl impl
      * member.  If that fails, throw a ParseException.
      *
      * This method assumes that the server time is the same as the local time.
-     * 
+     *
      * @see FTPTimestampParserImpl#parseTimestamp(String, Calendar)
      *
      * @param timestampStr The timestamp to be parsed

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/MLSxEntryParser.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/MLSxEntryParser.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/MLSxEntryParser.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/MLSxEntryParser.java Tue Jun  4 17:49:00 2013
@@ -41,7 +41,7 @@ import org.apache.commons.net.ftp.FTPFil
  * os-depend-fact   = <IANA assigned OS name> "." token
  * local-fact       = "X." token
  * value            = *SCHAR
- * 
+ *
  * Sample os-depend-fact:
  * UNIX.group=0;UNIX.mode=0755;UNIX.owner=0;
  * </pre>
@@ -49,7 +49,7 @@ import org.apache.commons.net.ftp.FTPFil
  * multiple (data) entries are returned without any leading spaces.
  * The parser requires that the leading space from the MLST entry is removed.
  * MLSD entries can begin with a single space if there are no facts.
- * 
+ *
  * @since 3.0
  */
 public class MLSxEntryParser extends FTPFileEntryParserImpl

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/AuthenticatingIMAPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/AuthenticatingIMAPClient.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/AuthenticatingIMAPClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/AuthenticatingIMAPClient.java Tue Jun  4 17:49:00 2013
@@ -243,9 +243,9 @@ public class AuthenticatingIMAPClient ex
         LOGIN("LOGIN"),
         /** XOAUTH */
         XOAUTH("XOAUTH");
-        
+
         private final String authName;
-        
+
         private AUTH_METHOD(String name){
             this.authName=name;
         }

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAP.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAP.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAP.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAP.java Tue Jun  4 17:49:00 2013
@@ -82,7 +82,7 @@ public class IMAP extends SocketClient
 
     /**
      * Get the reply for a command that expects a tagged response.
-     * 
+     *
      * @throws IOException
      */
     private void __getReply() throws IOException
@@ -93,7 +93,7 @@ public class IMAP extends SocketClient
     /**
      * Get the reply for a command, reading the response until the
      * reply is found.
-     * 
+     *
      * @param wantTag {@code true} if the command expects a tagged response.
      * @throws IOException
      */

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAPCommand.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAPCommand.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAPCommand.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAPCommand.java Tue Jun  4 17:49:00 2013
@@ -24,20 +24,20 @@ public enum IMAPCommand
 {
     // These enums must either use the same name as the IMAP command
     // or must provide the correct string as the parameter.
-    
+
     // Commands valid in any state:
-    
+
     CAPABILITY(0),
     NOOP(0),
     LOGOUT(0),
-    
+
     // Commands valid in Not Authenticated state
     STARTTLS(0),
     AUTHENTICATE(1),
     LOGIN(2),
-    
+
     XOAUTH(1),
-    
+
     // commands valid in authenticated state
     SELECT(1),
     EXAMINE(1),
@@ -50,7 +50,7 @@ public enum IMAPCommand
     LSUB(2),
     STATUS(2), // P2 = list in ()
     APPEND(2,4), // mbox [(flags)] [date-time] literal
-    
+
     // commands valid in selected state (substate of authenticated)
     CHECK(0),
     CLOSE(0),
@@ -61,9 +61,9 @@ public enum IMAPCommand
     COPY(2),
     UID(2, Integer.MAX_VALUE),
     ;
-    
+
     private final String imapCommand;
-    
+
     @SuppressWarnings("unused") // not yet used
     private final int minParamCount;
     @SuppressWarnings("unused") // not yet used
@@ -72,23 +72,23 @@ public enum IMAPCommand
     IMAPCommand(){
         this(null);
     }
-    
+
     IMAPCommand(String name){
         this(name, 0);
     }
-    
+
     IMAPCommand(int paramCount){
         this(null, paramCount, paramCount);
    }
-    
+
     IMAPCommand(int minCount, int maxCount){
         this(null, minCount, maxCount);
    }
-    
+
     IMAPCommand(String name, int paramCount){
         this(name, paramCount, paramCount);
     }
-    
+
     IMAPCommand(String name, int minCount, int maxCount){
         this.imapCommand = name;
         this.minParamCount = minCount;

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAPReply.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAPReply.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAPReply.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/imap/IMAPReply.java Tue Jun  4 17:49:00 2013
@@ -100,7 +100,7 @@ public final class IMAPReply
 
     /**
      * Checks if the line introduces a literal, i.e. ends with {dd}
-     * 
+     *
      * @return the literal count, or -1 if there was no literal.
      */
     public static int literalCount(String line) {

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/Util.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/Util.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/Util.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/Util.java Tue Jun  4 17:49:00 2013
@@ -38,7 +38,7 @@ import java.net.Socket;
 public final class Util
 {
     /**
-     * The default buffer size ({@value}) used by 
+     * The default buffer size ({@value}) used by
      * {@link #copyStream  copyStream } and {@link #copyReader  copyReader}
      * and by the copyReader/copyStream methods if a zero or negative buffer size is supplied.
      */

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/Article.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/Article.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/Article.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/Article.java Tue Jun  4 17:49:00 2013
@@ -108,7 +108,7 @@ public class Article implements Threadab
 
                         if (i < (len - 1)
                             && (subject.charAt(i) == ']' || subject.charAt(i) == ')')
-                            && subject.charAt(i + 1) == ':') 
+                            && subject.charAt(i + 1) == ':')
                         {
                             start = i + 2;
                             done = false;
@@ -144,7 +144,7 @@ public class Article implements Threadab
             for (int i = 0; i < depth; ++i) {
                 System.out.print("==>");
             }
-            System.out.println(article.getSubject() + "\t" + article.getFrom()+"\t"+article.getArticleId());            
+            System.out.println(article.getSubject() + "\t" + article.getFrom()+"\t"+article.getArticleId());
             if (article.kid != null) {
                 printThread(article.kid, depth + 1);
             }

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/ArticlePointer.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/ArticlePointer.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/ArticlePointer.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/ArticlePointer.java Tue Jun  4 17:49:00 2013
@@ -23,7 +23,7 @@ package org.apache.commons.net.nntp;
  * want this information when issuing a STAT command, implemented by
  * {@link NNTPClient#selectArticle selectArticle}.
  * @see NNTPClient
- * 
+ *
  * @deprecated 3.0 use {@link ArticleInfo} instead
  */
 @Deprecated

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/NNTPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/NNTPClient.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/NNTPClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/NNTPClient.java Tue Jun  4 17:49:00 2013
@@ -1119,7 +1119,7 @@ public class NNTPClient extends NNTP
     {
         if (!NNTPReply.isPositiveCompletion(newgroups(
                                                 query.getDate(), query.getTime(),
-                                                query.isGMT(), query.getDistributions()))) 
+                                                query.isGMT(), query.getDistributions())))
         {
             return null;
         }

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/ThreadContainer.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/ThreadContainer.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/ThreadContainer.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/ThreadContainer.java Tue Jun  4 17:49:00 2013
@@ -89,7 +89,7 @@ class ThreadContainer {
                 kid != null;
                 prev = kid,
                     kid = rest,
-                    rest = (rest == null ? null : rest.next)) 
+                    rest = (rest == null ? null : rest.next))
             {
                 kid.next = prev;
             }

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/Threader.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/Threader.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/Threader.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/nntp/Threader.java Tue Jun  4 17:49:00 2013
@@ -416,7 +416,7 @@ public class Threader {
 
                 for (ThreadContainer tail = newc.child;
                     tail != null;
-                    tail = tail.next) 
+                    tail = tail.next)
                 {
                     tail.parent = newc;
                 }

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3.java Tue Jun  4 17:49:00 2013
@@ -330,8 +330,8 @@ public class POP3 extends SocketClient
 
     /**
      * Removes a ProtocolCommandListener.
-     * 
-     * Delegates this incorrectly named method - removeProtocolCommandistener (note the missing "L")- to 
+     *
+     * Delegates this incorrectly named method - removeProtocolCommandistener (note the missing "L")- to
      * the correct method {@link SocketClient#removeProtocolCommandListener}
      * @param listener The ProtocolCommandListener to remove
      */

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Client.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Client.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Client.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Client.java Tue Jun  4 17:49:00 2013
@@ -127,9 +127,9 @@ public class POP3Client extends POP3
             return true;
         }
         return false;
-        
+
     }
-    
+
     /***
      * Login to the POP3 server with the given username and password.  You
      * must first connect to the server with
@@ -487,7 +487,7 @@ public class POP3Client extends POP3
 
         // This could be a zero length array if no messages present
         POP3MessageInfo[] messages = new POP3MessageInfo[_replyLines.size() - 2]; // skip first and last lines
-        
+
         ListIterator<String> en = _replyLines.listIterator(1); // skip first line
 
         // Fetch lines.
@@ -520,7 +520,7 @@ public class POP3Client extends POP3
      * This can safely be cast to a {@link java.io.BufferedReader BufferedReader} in order to
      * use the {@link java.io.BufferedReader#readLine() BufferedReader#readLine()} method.
      * Returns null if the retrieval attempt fails  (e.g., if the specified
-     * message number does not exist). 
+     * message number does not exist).
      * @exception IOException If a network I/O error occurs in the process of
      *        sending the retrieve message command.
      */

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Command.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Command.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Command.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3Command.java Tue Jun  4 17:49:00 2013
@@ -49,14 +49,14 @@ public final class POP3Command
     public static final int TOP = 10;
     /*** List unique message identifier(s). ***/
     public static final int UIDL = 11;
-    /** 
+    /**
      * The capabilities command.
      * @since 3.0
      */
     public static final int CAPA = 12;
     /**
      * Authentication
-     * @since 3.0 
+     * @since 3.0
      */
     public static final int AUTH = 13;
 
@@ -70,7 +70,7 @@ public final class POP3Command
     static {
         if (_commands.length != _NEXT_) {
             throw new RuntimeException("Error in array definition");
-        }        
+        }
     }
 
     // Cannot be instantiated.

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3SClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3SClient.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3SClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3SClient.java Tue Jun  4 17:49:00 2013
@@ -213,7 +213,7 @@ public class POP3SClient extends POP3Cli
         _input_ = socket.getInputStream();
         _output_ = socket.getOutputStream();
         _reader = new CRLFLineReader(new InputStreamReader(_input_, _DEFAULT_ENCODING));
-        _writer = new BufferedWriter(new OutputStreamWriter(_output_, _DEFAULT_ENCODING));    
+        _writer = new BufferedWriter(new OutputStreamWriter(_output_, _DEFAULT_ENCODING));
     }
 
     /**

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/AuthenticatingSMTPClient.java Tue Jun  4 17:49:00 2013
@@ -157,12 +157,12 @@ public class AuthenticatingSMTPClient ex
      * selected mechanism, using the given username and the given password.
      *
      * @param method the method to use, one of the {@link AuthenticatingSMTPClient.AUTH_METHOD} enum values
-     * @param username the user name. 
+     * @param username the user name.
      *        If the method is XOAUTH, then this is used as the plain text oauth protocol parameter string
-     *        which is Base64-encoded for transmission.        
+     *        which is Base64-encoded for transmission.
      * @param password the password for the username.
      *        Ignored for XOAUTH.
-     * 
+     *
      * @return True if successfully completed, false if not.
      * @exception SMTPConnectionClosedException
      *      If the SMTP server prematurely closes the connection as a result

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTP.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTP.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTP.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTP.java Tue Jun  4 17:49:00 2013
@@ -94,7 +94,7 @@ public class SMTP extends SocketClient
 
     /**
      * The encoding to use (user-settable).
-     * 
+     *
      * @since 3.1 (changed from private to protected)
      */
     protected final String encoding;
@@ -107,7 +107,7 @@ public class SMTP extends SocketClient
 
     BufferedReader _reader;
     BufferedWriter _writer;
-    
+
     private int _replyCode;
     private final ArrayList<String> _replyLines;
     private boolean _newReplyString;
@@ -139,7 +139,7 @@ public class SMTP extends SocketClient
 
     /**
      * Send a command to the server. May also be used to send text data.
-     * 
+     *
      * @param command the command to send (as a plain String)
      * @param args the command arguments, may be {@code null}
      * @param includeSpace if {@code true}, add a space between the command and its arguments
@@ -173,7 +173,7 @@ public class SMTP extends SocketClient
     }
 
     /**
-     * 
+     *
      * @param command the command to send (as an int defined in {@link SMPTCommand})
      * @param args the command arguments, may be {@code null}
      * @param includeSpace if {@code true}, add a space between the command and its arguments
@@ -762,8 +762,8 @@ public class SMTP extends SocketClient
 
     /**
      * Removes a ProtocolCommandListener.
-     * 
-     * Delegates this incorrectly named method - removeProtocolCommandistener (note the missing "L")- to 
+     *
+     * Delegates this incorrectly named method - removeProtocolCommandistener (note the missing "L")- to
      * the correct method {@link SocketClient#removeProtocolCommandListener}
      * @param listener The ProtocolCommandListener to remove
      */

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPCommand.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPCommand.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPCommand.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/smtp/SMTPCommand.java Tue Jun  4 17:49:00 2013
@@ -47,15 +47,15 @@ public final class SMTPCommand
     public static final int TURN = 12;
     public static final int QUIT = 13;
 
-    /** 
+    /**
      * The authorization command
-     * @since 3.0 
+     * @since 3.0
      */
     public static final int AUTH = 14 ;
 
-    /** 
+    /**
      * The extended hello command
-     * @since 3.0 
+     * @since 3.0
      */
     public static final int EHLO = 15 ;
 
@@ -92,7 +92,7 @@ public final class SMTPCommand
     static {
         if (_commands.length != _NEXT_) {
             throw new RuntimeException("Error in array definition");
-        }        
+        }
     }
 
     /***

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/Telnet.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/Telnet.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/Telnet.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/Telnet.java Tue Jun  4 17:49:00 2013
@@ -263,7 +263,7 @@ class Telnet extends SocketClient
      * Sets the state of the option.
      * <p>
      * @param option - option code to be set.
-     * @throws IOException 
+     * @throws IOException
      ***/
     void _setWill(int option) throws IOException
     {
@@ -292,7 +292,7 @@ class Telnet extends SocketClient
      * Sets the state of the option.
      * <p>
      * @param option - option code to be set.
-     * @throws IOException 
+     * @throws IOException
      ***/
     void _setDo(int option) throws IOException
     {
@@ -1091,7 +1091,7 @@ class Telnet extends SocketClient
      *
      * @param opthand - option handler to be registered.
      * @throws InvalidTelnetOptionException - The option code is invalid.
-     * @throws IOException 
+     * @throws IOException
      **/
     void addOptionHandler(TelnetOptionHandler opthand)
     throws InvalidTelnetOptionException, IOException
@@ -1133,7 +1133,7 @@ class Telnet extends SocketClient
      *
      * @param optcode - Code of the option to be unregistered.
      * @throws InvalidTelnetOptionException - The option code is invalid.
-     * @throws IOException 
+     * @throws IOException
      **/
     void deleteOptionHandler(int optcode)
     throws InvalidTelnetOptionException, IOException

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetClient.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetClient.java Tue Jun  4 17:49:00 2013
@@ -65,7 +65,7 @@ public class TelnetClient extends Telnet
 
     /**
      * Construct an instance with the specified terminal type.
-     * 
+     *
      * @param termtype the terminal type to use, e.g. {@code VT100}
      */
     /* TERMINAL-TYPE option (start)*/
@@ -255,7 +255,7 @@ public class TelnetClient extends Telnet
      * @param opthand - option handler to be registered.
      * <p>
      * @throws InvalidTelnetOptionException
-     * @throws IOException 
+     * @throws IOException
      ***/
     @Override
     public void addOptionHandler(TelnetOptionHandler opthand)
@@ -271,7 +271,7 @@ public class TelnetClient extends Telnet
      * @param optcode - Code of the option to be unregistered.
      * <p>
      * @throws InvalidTelnetOptionException
-     * @throws IOException 
+     * @throws IOException
      ***/
     @Override
     public void deleteOptionHandler(int optcode)

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/Base64.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/Base64.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/Base64.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/Base64.java Tue Jun  4 17:49:00 2013
@@ -71,7 +71,7 @@ public class Base64 {
      * @see <a href="http://www.ietf.org/rfc/rfc2045.txt">RFC 2045 section 2.1</a>
      */
     private static final byte[] CHUNK_SEPARATOR = {'\r', '\n'};
-    
+
     private static final byte[] EMPTY_BYTE_ARRAY = new byte[0];
 
     /**
@@ -647,7 +647,7 @@ public class Base64 {
      * Encodes binary data using the base64 algorithm into 76 character blocks separated by CRLF.
      * <p>
      * For a non-chunking version, see {@link #encodeBase64StringUnChunked(byte[])}.
-     * 
+     *
      * @param binaryData
      *            binary data to encode
      * @return String containing Base64 characters.
@@ -661,7 +661,7 @@ public class Base64 {
      * Encodes binary data using the base64 algorithm, without using chunking.
      * <p>
      * For a chunking version, see {@link #encodeBase64String(byte[])}.
-     * 
+     *
      * @param binaryData
      *            binary data to encode
      * @return String containing Base64 characters.
@@ -673,7 +673,7 @@ public class Base64 {
 
     /**
      * Encodes binary data using the base64 algorithm.
-     * 
+     *
      * @param binaryData
      *            binary data to encode
      * @param useChunking whether to split the output into chunks
@@ -882,7 +882,7 @@ public class Base64 {
 
     /**
      * Encodes a byte[] containing binary data, into a String containing characters in the Base64 alphabet.
-     * 
+     *
      * @param pArray
      *            a byte array containing binary data
      * @return A String containing only Base64 character data
@@ -1037,11 +1037,11 @@ public class Base64 {
     }
 
     // Getters for use in testing
-    
+
     int getLineLength() {
         return lineLength;
     }
-    
+
     byte[] getLineSeparator() {
         return lineSeparator.clone();
     }

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/Charsets.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/Charsets.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/Charsets.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/Charsets.java Tue Jun  4 17:49:00 2013
@@ -4,14 +4,14 @@ import java.nio.charset.Charset;
 
 /**
  * Helps dealing with Charsets.
- * 
+ *
  * @since 3.3
  */
 public class Charsets {
 
     /**
      * Returns a charset object for the given charset name.
-     * 
+     *
      * @param charsetName
      *            The name of the requested charset; may be a canonical name, an alias, or null. If null, return the
      *            default charset.
@@ -23,9 +23,9 @@ public class Charsets {
 
     /**
      * Returns a charset object for the given charset name.
-     * 
+     *
      * @param charsetName
-     *            The name of the requested charset; may be a canonical name, an alias, or null. 
+     *            The name of the requested charset; may be a canonical name, an alias, or null.
      *            If null, return the default charset.
      * @param defaultCharsetName the charset name to use if the requested charset is null
      *

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/SubnetUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/SubnetUtils.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/SubnetUtils.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/util/SubnetUtils.java Tue Jun  4 17:49:00 2013
@@ -99,12 +99,12 @@ public class SubnetUtils {
 
         private int low() {
             return (isInclusiveHostCount() ? network() :
-                broadcast() - network() > 1 ? network() + 1 : 0); 
+                broadcast() - network() > 1 ? network() + 1 : 0);
         }
-        
-        private int high() { 
+
+        private int high() {
             return (isInclusiveHostCount() ? broadcast() :
-                broadcast() - network() > 1 ? broadcast() -1  : 0); 
+                broadcast() - network() > 1 ? broadcast() -1  : 0);
         }
 
         /**
@@ -142,7 +142,7 @@ public class SubnetUtils {
         /**
          * Return the low address as a dotted IP address.
          * Will be zero for CIDR/31 and CIDR/32 if the inclusive flag is false.
-         * 
+         *
          * @return the IP address in dotted format, may be "0.0.0.0" if there is no valid address
          */
         public String getLowAddress() {
@@ -152,19 +152,19 @@ public class SubnetUtils {
         /**
          * Return the high address as a dotted IP address.
          * Will be zero for CIDR/31 and CIDR/32 if the inclusive flag is false.
-         * 
+         *
          * @return the IP address in dotted format, may be "0.0.0.0" if there is no valid address
          */
         public String getHighAddress() {
             return format(toArray(high()));
         }
-        
+
         /**
          * Get the count of available addresses.
          * Will be zero for CIDR/31 and CIDR/32 if the inclusive flag is false.
          * @return the count of addresses, may be zero.
          */
-        public int getAddressCount()                { 
+        public int getAddressCount()                {
             int count = broadcast() - network() + (isInclusiveHostCount() ? 1 : -1);
             return count < 0 ? 0 : count;
         }

Modified: commons/proper/net/trunk/src/site/xdoc/code-standards.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/site/xdoc/code-standards.xml?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/site/xdoc/code-standards.xml (original)
+++ commons/proper/net/trunk/src/site/xdoc/code-standards.xml Tue Jun  4 17:49:00 2013
@@ -117,7 +117,7 @@ Platform specific files should have the 
 <p>
 5. JavaDoc <strong>MUST</strong> exist on all public and protected methods.
 JavaDoc on private and default access methods and members is preferred and
-encouraged.  If your code modifications use an existing class/method/variable 
+encouraged.  If your code modifications use an existing class/method/variable
 which lacks JavaDoc, it is required that you add it.  This will improve the
 project as a whole.
 </p>

Modified: commons/proper/net/trunk/src/site/xdoc/faq.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/site/xdoc/faq.xml?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/site/xdoc/faq.xml (original)
+++ commons/proper/net/trunk/src/site/xdoc/faq.xml Tue Jun  4 17:49:00 2013
@@ -35,8 +35,8 @@
       </p>
       <p>
         The FAQ is hosted on the Commons Wiki; please see:
-        <a href="http://wiki.apache.org/commons/Net/FrequentlyAskedQuestions">CommonsNet/FrequentlyAskedQuestions</a> 
-      </p> 
+        <a href="http://wiki.apache.org/commons/Net/FrequentlyAskedQuestions">CommonsNet/FrequentlyAskedQuestions</a>
+      </p>
     </section>
   </body>
 </document>

Modified: commons/proper/net/trunk/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/site/xdoc/index.xml?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/site/xdoc/index.xml (original)
+++ commons/proper/net/trunk/src/site/xdoc/index.xml Tue Jun  4 17:49:00 2013
@@ -23,7 +23,7 @@
  </properties>
 
  <body>
- 
+
    <section name="Apache Commons Net">
    <p>
      Apache Commons Net&#x2122; library implements the client side of many basic
@@ -52,7 +52,7 @@
        <li>Telnet</li>
        <li>TFTP</li>
        <li>Finger</li>
-       <li>Whois</li> 
+       <li>Whois</li>
        <li>rexec/rcmd/rlogin</li>
        <li>Time (rdate) and Daytime</li>
        <li>Echo</li>

Modified: commons/proper/net/trunk/src/site/xdoc/mail-lists.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/site/xdoc/mail-lists.xml?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/site/xdoc/mail-lists.xml (original)
+++ commons/proper/net/trunk/src/site/xdoc/mail-lists.xml Tue Jun  4 17:49:00 2013
@@ -48,7 +48,7 @@ limitations under the License.
 
     <section name="Overview">
       <p>
-        <a href="index.html">Commons Net</a> shares mailing lists with all the other 
+        <a href="index.html">Commons Net</a> shares mailing lists with all the other
         <a href="http://commons.apache.org/components.html">Commons Components</a>.
         To make it easier for people to only read messages related to components they are interested in,
         the convention in Commons is to prefix the subject line of messages with the component's name,
@@ -68,8 +68,8 @@ limitations under the License.
       </p>
       <p>
         <strong>Note:</strong> please don't send patches or attachments to any of the mailing lists.
-        Patches are best handled via the <a href="issue-tracking.html">Issue Tracking</a> system. 
-        Otherwise, please upload the file to a public server and include the URL in the mail. 
+        Patches are best handled via the <a href="issue-tracking.html">Issue Tracking</a> system.
+        Otherwise, please upload the file to a public server and include the URL in the mail.
       </p>
     </section>
 
@@ -185,10 +185,10 @@ limitations under the License.
             General announcements of Apache project releases.
             <br /><br />
           </td>
-          <td><a class="externalLink" href="mailto:announce-subscribe@apache.org">Subscribe</a></td> 
-          <td><a class="externalLink" href="mailto:announce-unsubscribe@apache.org">Unsubscribe</a></td> 
+          <td><a class="externalLink" href="mailto:announce-subscribe@apache.org">Subscribe</a></td>
+          <td><a class="externalLink" href="mailto:announce-unsubscribe@apache.org">Unsubscribe</a></td>
           <td><i>read only</i></td>
-          <td><a class="externalLink" href="http://mail-archives.apache.org/mod_mbox/announce/">mail-archives.apache.org</a></td> 
+          <td><a class="externalLink" href="http://mail-archives.apache.org/mod_mbox/announce/">mail-archives.apache.org</a></td>
           <td><a class="externalLink" href="http://markmail.org/list/org.apache.announce/">markmail.org</a><br />
               <a class="externalLink" href="http://old.nabble.com/Apache-News-and-Announce-f109.html">old.nabble.com</a><br />
               <a class="externalLink" href="http://www.mail-archive.com/announce@apache.org/">www.mail-archive.com</a><br />

Modified: commons/proper/net/trunk/src/site/xdoc/migration.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/site/xdoc/migration.xml?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/site/xdoc/migration.xml (original)
+++ commons/proper/net/trunk/src/site/xdoc/migration.xml Tue Jun  4 17:49:00 2013
@@ -24,7 +24,7 @@
   </properties>
 
   <body>
-    
+
 <section name="Migration How-To">
 <p>
 This how-to lists the migration steps for moving between versions of Commons Net.
@@ -35,10 +35,10 @@ This how-to lists the migration steps fo
     <p>
         Version 3.0 is binary compatible with version 2.0. There should be no changes required to existing binary code.
     </p>
-    <p>        
+    <p>
         However, version 3.0 is <b>not source compatible</b> with 2.0.
     </p>
-    <p>        
+    <p>
         Several obsolete/unused constants have been removed.<br/>
         (Such changes do not affect binary code, because compilers are required to localise constants).<br/>
         The <a href="clirr-report.html">clirr report</a> shows which constants have been removed.

Modified: commons/proper/net/trunk/src/site/xdoc/tasks.xml
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/site/xdoc/tasks.xml?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/site/xdoc/tasks.xml (original)
+++ commons/proper/net/trunk/src/site/xdoc/tasks.xml Tue Jun  4 17:49:00 2013
@@ -36,14 +36,14 @@
             org.apache.commons.net.util and org.apache.commons.net.io could be moved to their corresponding commons projects.
           </li>
           <li>
-            Parse the client/server interactions without creating so many 
+            Parse the client/server interactions without creating so many
             strings. Many operations are slow because of this.
           </li>
           <li>
             Add ESMTP and more extended NNTP commands.
           </li>
           <li>
-            Make NNTPClient.listNewsgroups() and NNTPClient.listNewNews() 
+            Make NNTPClient.listNewsgroups() and NNTPClient.listNewNews()
             more efficient. Don't preparse into lots of little objects.
           </li>
           <li>FTP proxy support</li>

Modified: commons/proper/net/trunk/src/test/java/org/apache/commons/net/SocketClientFunctionalTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/test/java/org/apache/commons/net/SocketClientFunctionalTest.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/test/java/org/apache/commons/net/SocketClientFunctionalTest.java (original)
+++ commons/proper/net/trunk/src/test/java/org/apache/commons/net/SocketClientFunctionalTest.java Tue Jun  4 17:49:00 2013
@@ -25,7 +25,7 @@ import org.apache.commons.net.ftp.FTPCli
 
 /**
  * A simple functional test class for SocketClients.
- * 
+ *
  * Requires a Java-compatible SOCK proxy server on 127.0.0.1:9050 and access to ftp.gnu.org.
  */
 public class SocketClientFunctionalTest extends TestCase

Modified: commons/proper/net/trunk/src/test/java/org/apache/commons/net/SocketClientTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/test/java/org/apache/commons/net/SocketClientTest.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/test/java/org/apache/commons/net/SocketClientTest.java (original)
+++ commons/proper/net/trunk/src/test/java/org/apache/commons/net/SocketClientTest.java Tue Jun  4 17:49:00 2013
@@ -25,7 +25,7 @@ import org.apache.commons.net.ftp.FTPCli
 
 /**
  * A simple test class for SocketClient settings.
- * 
+ *
  * @since 3.2
  */
 public class SocketClientTest extends TestCase

Modified: commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java (original)
+++ commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java Tue Jun  4 17:49:00 2013
@@ -152,7 +152,7 @@ public class FTPClientConfigFunctionalTe
             // is older than now.
             assertTrue(lastfile.getTimestamp().getTime().before(now));
             Calendar first = firstfile.getTimestamp();
-    
+
             // test that the oldest is less than two days older than the newest
             // and, in particular, that no files have been considered "future"
             // by the parser and therefore been relegated to the same date a

Modified: commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientTest.java?rev=1489533&r1=1489532&r2=1489533&view=diff
==============================================================================
--- commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientTest.java (original)
+++ commons/proper/net/trunk/src/test/java/org/apache/commons/net/ftp/FTPClientTest.java Tue Jun  4 17:49:00 2013
@@ -40,7 +40,7 @@ public class FTPClientTest extends TestC
 
         "257 \"/path/without/trailing/quote", // invalid syntax, return all after reply code prefix
             "\"/path/without/trailing/quote",
-            
+
         "257 root is current directory.", // NET-442
             "root is current directory.",
 
@@ -54,7 +54,7 @@ public class FTPClientTest extends TestC
 
     public void testParseClient() {
         for(int i=0; i<TESTS.length; i+=2) {
-            assertEquals("Failed to parse",TESTS[i+1], FTPClient.__parsePathname(TESTS[i]));            
+            assertEquals("Failed to parse",TESTS[i+1], FTPClient.__parsePathname(TESTS[i]));
         }
     }
 



Mime
View raw message