Fix splitting of components.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367158 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrian T. Co 2006-01-09 01:50:28 +00:00
parent 0a503f5393
commit 52aeaa2965
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ public class URISupport {
break; break;
case ',': case ',':
if( depth == 0 ) { if( depth == 0 ) {
String s = str.substring(0, i-last); String s = str.substring(last, i);
l.add(s); l.add(s);
last=i+1; last=i+1;
} }