activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r367158 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/URISupport.java
Date Mon, 09 Jan 2006 01:50:40 GMT
Author: aco
Date: Sun Jan  8 17:50:28 2006
New Revision: 367158

URL: http://svn.apache.org/viewcvs?rev=367158&view=rev
Log:
Fix splitting of components.

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/URISupport.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/URISupport.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/URISupport.java?rev=367158&r1=367157&r2=367158&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/URISupport.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/URISupport.java
Sun Jan  8 17:50:28 2006
@@ -218,7 +218,7 @@
                 break;
             case ',':
                 if( depth == 0 ) {
-                    String s = str.substring(0, i-last);
+                    String s = str.substring(last, i);
                     l.add(s);
                     last=i+1;
                 }



Mime
View raw message