From b0296f3d23cd5b190c60a2f24aaefab19b773e60 Mon Sep 17 00:00:00 2001 From: Martin Mois Date: Wed, 6 Mar 2024 22:02:24 +0100 Subject: [PATCH] StringBuilder instead of StringBuffer --- japicmp/src/main/java/japicmp/cmp/JApiCmpArchive.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/japicmp/src/main/java/japicmp/cmp/JApiCmpArchive.java b/japicmp/src/main/java/japicmp/cmp/JApiCmpArchive.java index 91c4df65..55e8f88c 100644 --- a/japicmp/src/main/java/japicmp/cmp/JApiCmpArchive.java +++ b/japicmp/src/main/java/japicmp/cmp/JApiCmpArchive.java @@ -39,7 +39,7 @@ public String getName() { @Override public String toString() { - final StringBuffer sb = new StringBuffer("JApiCmpArchive{"); + StringBuilder sb = new StringBuilder("JApiCmpArchive{"); sb.append("file=").append(file); sb.append(", bytes="); if (bytes == null) sb.append("null");