OSDN Git Service

Removing dead code from BigInt
authorJesse Wilson <jessewilson@google.com>
Sat, 20 Feb 2010 18:35:21 +0000 (10:35 -0800)
committerJesse Wilson <jessewilson@google.com>
Sat, 20 Feb 2010 18:35:21 +0000 (10:35 -0800)
libcore/math/src/main/java/java/math/BigInt.java

index 3ba1da2..1eae2e0 100644 (file)
@@ -82,7 +82,6 @@ class BigInt
     public static int consumeErrors(StringBuilder sb) {
         int cnt = 0;
         int e, reason;
-        boolean first = true;
         while ((e = NativeBN.ERR_get_error()) != 0) {
             reason = e & 255;
             if (reason == 103) {
@@ -96,7 +95,6 @@ class BigInt
             if (reason == 65) {
                 throw new OutOfMemoryError();
             }
-            if (!first) { sb.append(" *** "); first = false; }
             sb.append(e).append(": ");
             String s = NativeBN.ERR_error_string(e);
             sb.append(s);