diff options
Diffstat (limited to 'build/src/main/java/$installer$/org/aspectj/Main.java')
-rw-r--r-- | build/src/main/java/$installer$/org/aspectj/Main.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/src/main/java/$installer$/org/aspectj/Main.java b/build/src/main/java/$installer$/org/aspectj/Main.java index 745c9d715..e4c649094 100644 --- a/build/src/main/java/$installer$/org/aspectj/Main.java +++ b/build/src/main/java/$installer$/org/aspectj/Main.java @@ -799,7 +799,7 @@ abstract class WizardPane { public static String stringFromStream(InputStream stream) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(stream, "US-ASCII")); - StringBuffer ret = new StringBuffer(); + StringBuilder ret = new StringBuilder(); int data; while ((data = reader.read()) != -1) { ret.append((char) data); @@ -827,7 +827,7 @@ abstract class WizardPane { public static String applyProperties(String text, Map<String,String> map) { // ${name} -> map.get(name).toString() int lastIndex = 0; - StringBuffer buf = new StringBuffer(); + StringBuilder buf = new StringBuilder(); int startIndex; while ((startIndex = text.indexOf("${", lastIndex)) != -1) { |