commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1753203 - /commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3MessageInfo.java
Date Mon, 18 Jul 2016 10:51:46 GMT
Author: sebb
Date: Mon Jul 18 10:51:46 2016
New Revision: 1753203

URL: http://svn.apache.org/viewvc?rev=1753203&view=rev
Log:
Add toString for debugging etc

Modified:
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3MessageInfo.java

Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3MessageInfo.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3MessageInfo.java?rev=1753203&r1=1753202&r2=1753203&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3MessageInfo.java
(original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/pop3/POP3MessageInfo.java
Mon Jul 18 10:51:46 2016
@@ -83,4 +83,9 @@ public final class POP3MessageInfo
         this.size = size;
         this.identifier = uid;
     }
+
+    @Override
+    public String toString() {
+        return "Number: " + number + ". Size: " + size + ". Id: " + identifier;
+    }
 }



Mime
View raw message