diff options
Diffstat (limited to 'framework/bundles/org.eclipse.ecf.identity/src')
-rw-r--r-- | framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/StringUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/StringUtils.java b/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/StringUtils.java index c32e08c6f..939c61d04 100644 --- a/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/StringUtils.java +++ b/framework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/util/StringUtils.java @@ -231,6 +231,6 @@ public final class StringUtils { final int index = string.indexOf(target); if (index == -1) return string; - return string.substring(0, index) + replace + replaceAll(string.substring(index + replace.length()), target, replace); + return string.substring(0, index) + replace + replaceAll(string.substring(index + target.length()), target, replace); } } |