We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8bdbba6 + 0f31f11 commit 08b5c52Copy full SHA for 08b5c52
src/main/java/com/mycmd/StringUtils.java
@@ -3,7 +3,7 @@
3
/** String helper functions for commands. */
4
public class StringUtils {
5
public static boolean isEmpty(String s) {
6
- return s == null || s.trim().isEmpty();
+ return s == null || s.isBlank();
7
}
8
9
public static String join(String[] arr, int start) {
0 commit comments