Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/util/TextProcessor.java')
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/util/TextProcessor.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/util/TextProcessor.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/util/TextProcessor.java
index 4e6224e6f..69f2e910b 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/util/TextProcessor.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/util/TextProcessor.java
@@ -171,7 +171,7 @@ public class TextProcessor {
delimiter = delimiter == null ? getDefaultDelimiters() : delimiter;
- StringBuffer target = new StringBuffer();
+ StringBuilder target = new StringBuilder();
target.append(LRE);
char ch;
@@ -240,7 +240,7 @@ public class TextProcessor {
if (!IS_PROCESSING_NEEDED || str == null || str.length() <= 1)
return str;
- StringBuffer buf = new StringBuffer();
+ StringBuilder buf = new StringBuilder();
for (int i = 0; i < str.length(); i++) {
char c = str.charAt(i);
switch (c) {

Back to the top