回答編集履歴
2
その2
test
CHANGED
@@ -66,7 +66,7 @@
|
|
66
66
|
|
67
67
|
public static boolean emptyCheck(List<String> arg){
|
68
68
|
|
69
|
-
return arg == null || arg.
|
69
|
+
return arg == null || arg.isEmpty();
|
70
70
|
|
71
71
|
}
|
72
72
|
|
1
言語が混じった・・・
test
CHANGED
@@ -92,9 +92,9 @@
|
|
92
92
|
|
93
93
|
public static boolean emptyCheck(List<String>... args){
|
94
94
|
|
95
|
-
for (List<
|
95
|
+
for (List<String> arg : args) {
|
96
96
|
|
97
|
-
if(arg == null || arg.
|
97
|
+
if(arg == null || arg.isEmpty()) {
|
98
98
|
|
99
99
|
return true;
|
100
100
|
|
@@ -124,9 +124,9 @@
|
|
124
124
|
|
125
125
|
public static boolean emptyCheck(List<String>... args){
|
126
126
|
|
127
|
-
for (List<
|
127
|
+
for (List<String> arg : args) {
|
128
128
|
|
129
|
-
if(arg != null && !arg.
|
129
|
+
if(arg != null && !arg.isEmpty()) {
|
130
130
|
|
131
131
|
return false;
|
132
132
|
|