Invert if condition
@@ -182,10 +182,7 @@ public class MockUriInfo implements UriInfo
String key = urlDecode(pair.get(0));
String value = null;
- if (pair.size() == 1) {
-
- }
- else {
+ if (pair.size() != 1) {
value = QUERY_PARAM_VALUE_JOINER.join(pair.subList(1, pair.size()));
if (decode) {
value = urlDecode(value);
