forked from Cookies_Github_mirror/AquaDX
[O] More cleanup, return 400 for bad requests
This commit is contained in:
@@ -35,7 +35,7 @@ public class IntegerListConverter implements AttributeConverter<List<Integer>, S
|
||||
@Override
|
||||
public List<Integer> convertToEntityAttribute(String string) {
|
||||
if (string != null && !string.isEmpty()) {
|
||||
List<Integer> iList = new ArrayList<Integer>();
|
||||
List<Integer> iList = new ArrayList<>();
|
||||
for (String s : string.split(SPLIT_CHAR)) {
|
||||
iList.add(Integer.parseInt(s));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user