Skip to content

Commit

Permalink
♻️ refactor: refactor codebase for String4j #3
Browse files Browse the repository at this point in the history
  • Loading branch information
pnguyen215 committed Jul 5, 2024
1 parent f889bc2 commit 0588584
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/src/main/groovy/org/unify4j/common/String4j.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
public class String4j {
protected static final Logger logger = LoggerFactory.getLogger(String4j.class);
protected static char[] hexes = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};
public static String FOLDER_SEPARATOR = "/";
public static String EMPTY = "";
protected static String EMPTY = "";

/**
* Checks if the provided CharSequence is null or empty.
*
* @param cs the CharSequence to check
* @return true if the CharSequence is null or empty, false otherwise
*/
@SuppressWarnings({"SizeReplaceableByIsEmpty"})
public static boolean isEmpty(CharSequence cs) {
return cs == null || cs.length() == 0;
}
Expand Down

0 comments on commit 0588584

Please sign in to comment.