修复全局配置错误
This commit is contained in:
parent
065c5c065c
commit
ca8fc2dfae
|
|
@ -171,6 +171,9 @@ public class ArrayUtil {
|
||||||
*/
|
*/
|
||||||
public static List<Integer> stringToListAsInt(String str, String regex){
|
public static List<Integer> stringToListAsInt(String str, String regex){
|
||||||
List<Integer> list = new ArrayList<>();
|
List<Integer> list = new ArrayList<>();
|
||||||
|
if (str.equals("")) {
|
||||||
|
return list;
|
||||||
|
}
|
||||||
if (str.contains(regex)){
|
if (str.contains(regex)){
|
||||||
String[] split = str.split(regex);
|
String[] split = str.split(regex);
|
||||||
for (String value : split) {
|
for (String value : split) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue