Skip to content

Commit 0588584

Browse files
committed
♻️ refactor: refactor codebase for String4j #3
1 parent f889bc2 commit 0588584

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/src/main/groovy/org/unify4j/common/String4j.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
public class String4j {
1313
protected static final Logger logger = LoggerFactory.getLogger(String4j.class);
1414
protected static char[] hexes = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};
15-
public static String FOLDER_SEPARATOR = "/";
16-
public static String EMPTY = "";
15+
protected static String EMPTY = "";
1716

1817
/**
1918
* Checks if the provided CharSequence is null or empty.
2019
*
2120
* @param cs the CharSequence to check
2221
* @return true if the CharSequence is null or empty, false otherwise
2322
*/
23+
@SuppressWarnings({"SizeReplaceableByIsEmpty"})
2424
public static boolean isEmpty(CharSequence cs) {
2525
return cs == null || cs.length() == 0;
2626
}

0 commit comments

Comments
 (0)