pull/4077/head
zhangdaiscott 2 years ago
parent 5c00114d7c
commit 99e5160436

@ -119,10 +119,10 @@ public class oConvertUtils {
} }
public static Integer[] getInts(String[] s) { public static Integer[] getInts(String[] s) {
Integer[] integer = new Integer[s.length];
if (s == null) { if (s == null) {
return null; return null;
} }
Integer[] integer = new Integer[s.length];
for (int i = 0; i < s.length; i++) { for (int i = 0; i < s.length; i++) {
integer[i] = Integer.parseInt(s[i]); integer[i] = Integer.parseInt(s[i]);
} }

Loading…
Cancel
Save