Skip to content

Commit 03c2e34

Browse files
committed
coding that Google Compressor Compiler likes better
1 parent f7f6b07 commit 03c2e34

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sources/net.sf.j2s.java.core/src/java/text/DigitList.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,8 +541,7 @@ public final void setLong(boolean isNegative, long source, int maximumDigits) {
541541
decimalAt = MAX_COUNT - left;
542542
// Don't copy trailing zeros. We are guaranteed that there is at
543543
// least one non-zero digit, so we don't have to check lower bounds.
544-
for (right = MAX_COUNT - 1; digits[right] == '0'; --right)
545-
;
544+
for (right = MAX_COUNT - 1; digits[right] == '0'; --right) {}
546545
count = right - left + 1;
547546
System.arraycopy(digits, left, digits, 0, count);
548547
}

0 commit comments

Comments
 (0)