diff options
author | Andy Clement <aclement@pivotal.io> | 2021-11-30 07:35:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-30 07:35:20 -0800 |
commit | 5abc2f1dce1e97b92acc5562b3c5fa32cf0abb5d (patch) | |
tree | f7ffca6959b94577ba07ff8f190c5b8568c357d0 /build/src/test | |
parent | 27aba3f4dfb18600f6b83e8cdf4e268d63d48ec0 (diff) | |
parent | b1c52e2f5eb624037b8c799c20fbd1b4fd611d9a (diff) | |
download | aspectj-5abc2f1dce1e97b92acc5562b3c5fa32cf0abb5d.tar.gz aspectj-5abc2f1dce1e97b92acc5562b3c5fa32cf0abb5d.zip |
Merge pull request #101 from turbanoff/use_StringBuilder_instead_of_StringBuffer
Replace uses of StringBuffer with StringBuilder.
Diffstat (limited to 'build/src/test')
-rw-r--r-- | build/src/test/java/org/aspectj/internal/build/BuildModuleTest.java | 2 | ||||
-rw-r--r-- | build/src/test/java/org/aspectj/internal/build/ModulesTest.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build/src/test/java/org/aspectj/internal/build/BuildModuleTest.java b/build/src/test/java/org/aspectj/internal/build/BuildModuleTest.java index f8f0b4bde..b8a6c6d15 100644 --- a/build/src/test/java/org/aspectj/internal/build/BuildModuleTest.java +++ b/build/src/test/java/org/aspectj/internal/build/BuildModuleTest.java @@ -107,7 +107,7 @@ public class BuildModuleTest extends TestCase { if (!Util.delete(file)) { File[] list = file.listFiles(); if (!Util.isEmpty(list)) { - StringBuffer sb = new StringBuffer(); + StringBuilder sb = new StringBuilder(); sb.append("warning: BuildModuleTest unable to delete "); sb.append(file.toString()); sb.append("\n"); // XXX platform diff --git a/build/src/test/java/org/aspectj/internal/build/ModulesTest.java b/build/src/test/java/org/aspectj/internal/build/ModulesTest.java index 52f6f48dc..5b1692570 100644 --- a/build/src/test/java/org/aspectj/internal/build/ModulesTest.java +++ b/build/src/test/java/org/aspectj/internal/build/ModulesTest.java @@ -115,7 +115,7 @@ public class ModulesTest extends TestCase { } } if (!badModules.isEmpty()) { - StringBuffer sb = new StringBuffer(); + StringBuilder sb = new StringBuilder(); for (Module module: badModules) { System.err.println(module.toLongString()); sb.append("\n"); |