Commit 9052a4a9 authored by oleg.pahhomov's avatar oleg.pahhomov

SA0140-513 | change null check to isBlank check

parent fa98c5f4
......@@ -26,6 +26,7 @@ import java.util.stream.Collectors;
import static java.util.Arrays.asList;
import static org.apache.commons.lang3.BooleanUtils.isTrue;
import static org.apache.commons.lang3.StringUtils.isBlank;
@Slf4j
@Service
......@@ -49,7 +50,7 @@ public class FilterRequestBuilder {
filterRequest.put(filter.getName(), filter.getUpperDefaultOptions());
} else {
String paramValue = params.get(filter.getId().toString());
if (paramValue == null) {
if (isBlank(paramValue)) {
filterRequest.put(filter.getName(), filter.getUpperDefaultOptions());
} else {
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment