mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-08 16:20:43 +08:00
修复全局配置错误
This commit is contained in:
@@ -171,6 +171,9 @@ public class ArrayUtil {
|
||||
*/
|
||||
public static List<Integer> stringToListAsInt(String str, String regex){
|
||||
List<Integer> list = new ArrayList<>();
|
||||
if (str.equals("")) {
|
||||
return list;
|
||||
}
|
||||
if (str.contains(regex)){
|
||||
String[] split = str.split(regex);
|
||||
for (String value : split) {
|
||||
|
||||
Reference in New Issue
Block a user