activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1051237 - /activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/XmlCodec.java
Date Mon, 20 Dec 2010 18:39:41 GMT
Author: chirino
Date: Mon Dec 20 18:39:41 2010
New Revision: 1051237

URL: http://svn.apache.org/viewvc?rev=1051237&view=rev
Log:
Fixes up how the package list is composed.

Modified:
    activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/XmlCodec.java

Modified: activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/XmlCodec.java
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/XmlCodec.java?rev=1051237&r1=1051236&r2=1051237&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/XmlCodec.java
(original)
+++ activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/XmlCodec.java
Mon Dec 20 18:39:41 2010
@@ -103,8 +103,8 @@ public class XmlCodec {
 
             String packages = "";
             for ( String p : names) {
-                if( p.length() !=0 ) {
-                    p += ":";
+                if( packages.length() !=0 ) {
+                    packages += ":";
                 }
                 packages += p;
             }



Mime
View raw message