Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkuppe2008-05-06 07:29:42 -0400
committermkuppe2008-05-06 07:29:42 -0400
commit4a7c14dfe30ce427df5709aecb0da6426f506ed8 (patch)
tree95be22565b752d38f1a70af3af5877dd07a6977c /framework/bundles/org.eclipse.ecf.identity/src
parent0b493738ddfc3957a849f1cb8169f4c65609a9b3 (diff)
downloadorg.eclipse.ecf-4a7c14dfe30ce427df5709aecb0da6426f506ed8.tar.gz
org.eclipse.ecf-4a7c14dfe30ce427df5709aecb0da6426f506ed8.tar.xz
org.eclipse.ecf-4a7c14dfe30ce427df5709aecb0da6426f506ed8.zip
FIXED - bug 230369: Remove org.eclipse.ecf.core.util.StringUtils.replaceAllIgnoreCase(String, String, String)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=230369
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.java10
1 files changed, 0 insertions, 10 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 c9c09a179..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
@@ -233,14 +233,4 @@ public final class StringUtils {
return string;
return string.substring(0, index) + replace + replaceAll(string.substring(index + target.length()), target, replace);
}
-
- /**
- * @see StringUtils#replaceAll(String, String, String) but case insensitive
- */
- public static String replaceAllIgnoreCase(String string, String target, String replace) {
- final int index = string.toLowerCase().indexOf(target.toLowerCase());
- if (index == -1)
- return string;
- return string.substring(0, index) + replace + replaceAllIgnoreCase(string.substring(index + target.length()), target, replace);
- }
}

Back to the top