changed StringBuffer to StringBuilder in LoggingTripleHandler
authorHans <firedrake93@gmail.com>
Fri, 13 Jul 2018 17:20:44 +0000 (12:20 -0500)
committerHans <firedrake93@gmail.com>
Fri, 13 Jul 2018 17:20:44 +0000 (12:20 -0500)
core/src/main/java/org/apache/any23/writer/LoggingTripleHandler.java

index a46aaff..9676cfb 100644 (file)
@@ -95,7 +95,7 @@ public class LoggingTripleHandler implements TripleHandler {
         long elapsedTime = System.currentTimeMillis() - startTime;
         final AtomicBoolean success = new AtomicBoolean(true);
         
-        StringBuffer sb = new StringBuffer("[ ");
+        StringBuilder sb = new StringBuilder("[ ");
         String[] parsers = contextTripleMap.entrySet().stream().map(e -> {
                     if (e.getValue() > 0) {
                         success.set(true);