This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git


The following commit(s) were added to refs/heads/master by this push:
     new 2e1dc83  Format debug output.
2e1dc83 is described below

commit 2e1dc83b2ac1dbdaeddc9d48bdc8464eb05db92c
Author: Gary Gregory <gardgreg...@gmail.com>
AuthorDate: Fri Jul 5 17:09:08 2019 -0400

    Format debug output.
---
 src/main/java/org/apache/bcel/classfile/ConstantUtf8.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java 
b/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java
index 8e0788d..e02fed1 100644
--- a/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java
+++ b/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java
@@ -125,8 +125,8 @@ public final class ConstantUtf8 extends Constant {
 
     // for accesss by test code
     static void printStats() {
-        System.err.println("Cache hit " + hits + "/" + considered +", " + 
skipped + " skipped");
-        System.err.println("Total of " + created + " ConstantUtf8 objects 
created");
+        System.err.printf("Cache hit %,d/%,d, %d 
skipped.%n",hits,considered,skipped);
+        System.err.printf("Total of %,d ConstantUtf8 objects created.%n", 
created);
     }
 
     private final String bytes;

Reply via email to