commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1741807 - /commons/proper/net/trunk/src/main/java/examples/mail/IMAPUtils.java
Date Sat, 30 Apr 2016 20:11:37 GMT
Author: sebb
Date: Sat Apr 30 20:11:37 2016
New Revision: 1741807

URL: http://svn.apache.org/viewvc?rev=1741807&view=rev
Log:
Wrong field for error message (Findbugs)

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

Modified: commons/proper/net/trunk/src/main/java/examples/mail/IMAPUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/examples/mail/IMAPUtils.java?rev=1741807&r1=1741806&r2=1741807&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/examples/mail/IMAPUtils.java (original)
+++ commons/proper/net/trunk/src/main/java/examples/mail/IMAPUtils.java Sat Apr 30 20:11:37
2016
@@ -52,7 +52,7 @@ class IMAPUtils {
 
         String []userpass = userInfo.split(":");
         if (userpass.length != 2) {
-            throw new IllegalArgumentException("Invalid userInfo details: '" + userpass +
"'");
+            throw new IllegalArgumentException("Invalid userInfo details: '" + userInfo +
"'");
         }
 
         String username = userpass[0];



Mime
View raw message