Open subzero911 opened 4 years ago
Because it does not only check if str == null but also checks if str.length == 0 (you could also refactor and use a built-in str.isEmpty instead of direct length accessing)
str.isEmpty
Because it does not only check if str == null but also checks if str.length == 0 (you could also refactor and use a built-in
str.isEmpty
instead of direct length accessing)