diff options
author | Elliott Hughes <enh@google.com> | 2011-05-20 16:15:21 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2011-05-20 16:15:21 -0700 |
commit | 0d4daefcf389b6433a0af481ef44a84a2546541a (patch) | |
tree | e4d2a597213cff2627a402c80486d7d85b8b3a6e /junit | |
parent | 5f8f88e054987bd73b4fa7d31c73dd09094ac6ec (diff) | |
download | libcore-0d4daefcf389b6433a0af481ef44a84a2546541a.zip libcore-0d4daefcf389b6433a0af481ef44a84a2546541a.tar.gz libcore-0d4daefcf389b6433a0af481ef44a84a2546541a.tar.bz2 |
Suppress some FindBugs warnings.
Also globally replace "for(" with "for (".
Change-Id: I27fe17460e6745b9ca823f42e57c86fe8af31979
Diffstat (limited to 'junit')
-rw-r--r-- | junit/src/main/java/junit/framework/ComparisonFailure.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/junit/src/main/java/junit/framework/ComparisonFailure.java b/junit/src/main/java/junit/framework/ComparisonFailure.java index 0cb2cee..ccd476b 100644 --- a/junit/src/main/java/junit/framework/ComparisonFailure.java +++ b/junit/src/main/java/junit/framework/ComparisonFailure.java @@ -34,7 +34,7 @@ public class ComparisonFailure extends AssertionFailedError { int end= Math.min(fExpected.length(), fActual.length()); int i= 0; - for(; i < end; i++) { + for (; i < end; i++) { if (fExpected.charAt(i) != fActual.charAt(i)) break; } |