summaryrefslogtreecommitdiffstats
path: root/junit
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2011-05-20 16:15:21 -0700
committerElliott Hughes <enh@google.com>2011-05-20 16:15:21 -0700
commit0d4daefcf389b6433a0af481ef44a84a2546541a (patch)
treee4d2a597213cff2627a402c80486d7d85b8b3a6e /junit
parent5f8f88e054987bd73b4fa7d31c73dd09094ac6ec (diff)
downloadlibcore-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.java2
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;
}