Permalink
Browse files

'each' instead of 'f' for the variable name

  • Loading branch information...
1 parent 0215c66 commit 56b5463c6adf89a03f489f3525a9a343bc43d960 @jherault jherault committed Aug 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/org/junit/runners/Parameterized.java
@@ -230,8 +230,8 @@ protected void validateFields(List<Throwable> errors) {
if (fieldsAreAnnotated()) {
List<FrameworkField> annotatedFieldsByParameter = getAnnotatedFieldsByParameter();
int[] usedIndices = new int[annotatedFieldsByParameter.size()];
- for (FrameworkField f : annotatedFieldsByParameter) {
- int index = f.getField().getAnnotation(Parameter.class).value();
+ for (FrameworkField each : annotatedFieldsByParameter) {
+ int index = each.getField().getAnnotation(Parameter.class).value();
if (index < 0 || index > annotatedFieldsByParameter.size()-1) {
errors.add(
new Exception("Invalid @Parameter value: "+index+". @Parameter fields counted: "+

0 comments on commit 56b5463

Please sign in to comment.