combined conditional and removed commented code
This commit is contained in:
parent
28f2f39be8
commit
687d7e23ed
1 changed files with 1 additions and 3 deletions
|
@ -80,9 +80,7 @@ public class EditN3GeneratorVTwo {
|
|||
}
|
||||
|
||||
private boolean containsNullOrEmpty(List<String> values) {
|
||||
//return values != null && ( values.contains(null) || values.contains("") );
|
||||
if(values == null) return true ;
|
||||
if(values.isEmpty()) return true ;
|
||||
if(values == null || values.isEmpty()) return true ;
|
||||
for(String str : values) {
|
||||
if(StringUtils.isBlank(str)) return true ;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue