ben-manes / caffeine

For loop can be converted into a foreach loop JAVA-W1089
Anti-pattern
Minor
6 days ago10 months old
112    assertThat(truePositives).isEqualTo(input.length / 2);
113
114    // Second half shouldn't be members
115    for (; i < input.length; i++) {116      falsePositives += filter.mightContain(input[i]) ? 1 : 0;
117    }
118    return falsePositives;