commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1570262 - /commons/proper/net/trunk/src/main/java/examples/mail/IMAPImportMbox.java
Date Thu, 20 Feb 2014 16:38:41 GMT
Author: sebb
Date: Thu Feb 20 16:38:41 2014
New Revision: 1570262

URL: http://svn.apache.org/r1570262
Log:
TRailing spaces

Modified:
    commons/proper/net/trunk/src/main/java/examples/mail/IMAPImportMbox.java

Modified: commons/proper/net/trunk/src/main/java/examples/mail/IMAPImportMbox.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/examples/mail/IMAPImportMbox.java?rev=1570262&r1=1570261&r2=1570262&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/examples/mail/IMAPImportMbox.java (original)
+++ commons/proper/net/trunk/src/main/java/examples/mail/IMAPImportMbox.java Thu Feb 20 16:38:41
2014
@@ -70,7 +70,7 @@ public final class IMAPImportMbox
 
         String []userpass = userInfo.split(":");
         if (userpass.length != 2) {
-            throw new IllegalArgumentException("Invalid userInfo details: '" + userpass +
"'");            
+            throw new IllegalArgumentException("Invalid userInfo details: '" + userpass +
"'");
         }
 
         String username = userpass[0];
@@ -214,7 +214,7 @@ public final class IMAPImportMbox
 
     /**
      * Is the message wanted?
-     * 
+     *
      * @param msgNum the message number
      * @param line the From line
      * @param msgNums the list of wanted message numbers
@@ -222,7 +222,7 @@ public final class IMAPImportMbox
      * @return true if the message is wanted
      */
     private static boolean wanted(int msgNum, String line, BitSet msgNums, List<String>
contains) {
-        return (msgNums.isEmpty() && contains.isEmpty()) // no selectors 
+        return (msgNums.isEmpty() && contains.isEmpty()) // no selectors
              || msgNums.get(msgNum) // matches message number
              || listContains(contains, line); // contains string
     }



Mime
View raw message