return FilterOperation.valueOf(s);
} catch (IllegalArgumentException e) {
throw new BadRequestException("filter-operation", e);
}
}
<BUG>private static ResultHandling getResultHandling(HTTPRequest request)
throws BadRequestException {</BUG>
String s = request.getPartAsStringFailsafe("result-handling", 100);
try {
return ResultHandling.valueOf(s);

return FilterOperation.valueOf(s);
} catch (IllegalArgumentException e) {
throw new BadRequestException("filter-operation", e);
}
}
private ResultHandling getResultHandling(HTTPRequest request)
throws BadRequestException {
String s = request.getPartAsStringFailsafe("result-handling", 100);
try {
return ResultHandling.valueOf(s);
