Skip to content

Commit 0f31f11

Browse files
Update isEmpty method to use isBlank
1 parent 1c6b59a commit 0f31f11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/mycmd/StringUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/** String helper functions for commands. */
44
public class StringUtils {
55
public static boolean isEmpty(String s) {
6-
return s == null || s.isEmpty();
6+
return s == null || s.isBlank();
77
}
88

99
public static String join(String[] arr, int start) {

0 commit comments

Comments
 (0)