combined conditional and removed commented code

This commit is contained in:
Stephan Zednik 2016-06-28 15:02:53 -06:00 committed by GitHub
parent 28f2f39be8
commit 687d7e23ed

View file

@ -80,9 +80,7 @@ public class EditN3GeneratorVTwo {
} }
private boolean containsNullOrEmpty(List<String> values) { private boolean containsNullOrEmpty(List<String> values) {
//return values != null && ( values.contains(null) || values.contains("") ); if(values == null || values.isEmpty()) return true ;
if(values == null) return true ;
if(values.isEmpty()) return true ;
for(String str : values) { for(String str : values) {
if(StringUtils.isBlank(str)) return true ; if(StringUtils.isBlank(str)) return true ;
} }