clean code if is not needed anymore

This commit is contained in:
Slim Bouguerra 2015-08-07 12:38:41 -05:00
parent 64d638a386
commit f0bc362981
1 changed files with 6 additions and 6 deletions

View File

@ -82,14 +82,14 @@ public class ExtractionFilter implements Filter
}
};
}
if (allDimVals != null) {
for (int i = 0; i < allDimVals.size(); i++) {
String dimVal = allDimVals.get(i);
if (value.equals(Strings.nullToEmpty(fn.apply(dimVal)))) {
filters.add(new SelectorFilter(dimension, dimVal));
}
for (int i = 0; i < allDimVals.size(); i++) {
String dimVal = allDimVals.get(i);
if (value.equals(Strings.nullToEmpty(fn.apply(dimVal)))) {
filters.add(new SelectorFilter(dimension, dimVal));
}
}
return filters;
}