Skip to content

Commit 1c6b59a

Browse files
committed
Resolved duplication use of methods
1 parent 0c578dc commit 1c6b59a

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.trim().isEmpty();
6+
return s == null || s.isEmpty();
77
}
88

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

0 commit comments

Comments
 (0)