< prev index next >

src/java.base/share/classes/java/math/MutableBigInteger.java

Print this page

        

@@ -770,11 +770,11 @@
         }
 
         if (carry > 0) { // Result must grow in length
             resultLen++;
             if (result.length < resultLen) {
-                int temp[] = new int[resultLen];
+                int[] temp = new int[resultLen];
                 // Result one word longer from carry-out; copy low-order
                 // bits into new result.
                 System.arraycopy(result, 0, temp, 1, result.length);
                 temp[0] = 1;
                 result = temp;

@@ -836,11 +836,11 @@
         }
 
         if (carry > 0) { // Result must grow in length
             resultLen++;
             if (result.length < resultLen) {
-                int temp[] = new int[resultLen];
+                int[] temp = new int[resultLen];
                 // Result one word longer from carry-out; copy low-order
                 // bits into new result.
                 System.arraycopy(result, 0, temp, 1, result.length);
                 temp[0] = 1;
                 result = temp;
< prev index next >