any23-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hansbre...@apache.org
Subject any23 git commit: changed StringBuffer to StringBuilder in LoggingTripleHandler
Date Fri, 13 Jul 2018 17:21:12 GMT
Repository: any23
Updated Branches:
  refs/heads/master a8d9b8b34 -> 4e078cf3b


changed StringBuffer to StringBuilder in LoggingTripleHandler


Project: http://git-wip-us.apache.org/repos/asf/any23/repo
Commit: http://git-wip-us.apache.org/repos/asf/any23/commit/4e078cf3
Tree: http://git-wip-us.apache.org/repos/asf/any23/tree/4e078cf3
Diff: http://git-wip-us.apache.org/repos/asf/any23/diff/4e078cf3

Branch: refs/heads/master
Commit: 4e078cf3b9c8b0715f488a78daedb244b8c5c1a4
Parents: a8d9b8b
Author: Hans <firedrake93@gmail.com>
Authored: Fri Jul 13 12:20:44 2018 -0500
Committer: Hans <firedrake93@gmail.com>
Committed: Fri Jul 13 12:20:44 2018 -0500

----------------------------------------------------------------------
 .../main/java/org/apache/any23/writer/LoggingTripleHandler.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/any23/blob/4e078cf3/core/src/main/java/org/apache/any23/writer/LoggingTripleHandler.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/any23/writer/LoggingTripleHandler.java b/core/src/main/java/org/apache/any23/writer/LoggingTripleHandler.java
index a46aaff..9676cfb 100644
--- a/core/src/main/java/org/apache/any23/writer/LoggingTripleHandler.java
+++ b/core/src/main/java/org/apache/any23/writer/LoggingTripleHandler.java
@@ -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);


Mime
View raw message