mirror of https://github.com/apache/druid.git
clean code if is not needed anymore
This commit is contained in:
parent
64d638a386
commit
f0bc362981
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue