maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdca...@apache.org
Subject svn commit: r588325 - /maven/artifact/trunk/src/main/java/org/apache/maven/artifact/versioning/ManagedVersionMap.java
Date Thu, 25 Oct 2007 19:57:37 GMT
Author: jdcasey
Date: Thu Oct 25 12:57:36 2007
New Revision: 588325

URL: http://svn.apache.org/viewvc?rev=588325&view=rev
Log:
improving toString() for readability.

Modified:
    maven/artifact/trunk/src/main/java/org/apache/maven/artifact/versioning/ManagedVersionMap.java

Modified: maven/artifact/trunk/src/main/java/org/apache/maven/artifact/versioning/ManagedVersionMap.java
URL: http://svn.apache.org/viewvc/maven/artifact/trunk/src/main/java/org/apache/maven/artifact/versioning/ManagedVersionMap.java?rev=588325&r1=588324&r2=588325&view=diff
==============================================================================
--- maven/artifact/trunk/src/main/java/org/apache/maven/artifact/versioning/ManagedVersionMap.java
(original)
+++ maven/artifact/trunk/src/main/java/org/apache/maven/artifact/versioning/ManagedVersionMap.java
Thu Oct 25 12:57:36 2007
@@ -36,8 +36,8 @@
 
     public String toString()
     {
-        StringBuffer buffer = new StringBuffer("ManagedVersionMap\n");
-        Iterator iter = this.keySet().iterator();
+        StringBuffer buffer = new StringBuffer("ManagedVersionMap (" + size() + " entries)\n");
+        Iterator iter = keySet().iterator();
         while (iter.hasNext())
         {
             String key = (String)iter.next();



Mime
View raw message