commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1363113 - /commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/CatalogBase.java
Date Wed, 18 Jul 2012 21:00:40 GMT
Author: simonetripodi
Date: Wed Jul 18 21:00:39 2012
New Revision: 1363113

URL: http://svn.apache.org/viewvc?rev=1363113&view=rev
Log:
took advantage from StringBuilder chaining methods

Modified:
    commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/CatalogBase.java

Modified: commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/CatalogBase.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/CatalogBase.java?rev=1363113&r1=1363112&r2=1363113&view=diff
==============================================================================
--- commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/CatalogBase.java
(original)
+++ commons/proper/chain/trunk/core/src/main/java/org/apache/commons/chain2/impl/CatalogBase.java
Wed Jul 18 21:00:39 2012
@@ -129,9 +129,8 @@ public class CatalogBase<K, V, C extends
                 str.append(", ");
             }
         }
-        str.append("]");
 
-        return str.toString();
+        return str.append("]").toString();
     }
 
 }



Mime
View raw message