File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
src/main/java/org/mybatis/dynamic/sql/util Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 1515 */
1616package org .mybatis .dynamic .sql .util ;
1717
18- import org .jspecify .annotations .Nullable ;
19-
2018public interface StringUtilities {
2119
2220 static String spaceAfter (String in ) {
@@ -27,10 +25,6 @@ static String spaceBefore(String in) {
2725 return " " + in ; //$NON-NLS-1$
2826 }
2927
30- static @ Nullable String safelyUpperCase (@ Nullable String s ) {
31- return s == null ? null : s .toUpperCase ();
32- }
33-
3428 static String toCamelCase (String inputString ) {
3529 StringBuilder sb = new StringBuilder ();
3630
@@ -63,7 +57,7 @@ static String formatConstantForSQL(String in) {
6357 static <T > T upperCaseIfPossible (T value ) {
6458 if (value instanceof String ) {
6559 @ SuppressWarnings ("unchecked" )
66- T t = (T ) safelyUpperCase ((String ) value );
60+ T t = (T ) ((String ) value ). toUpperCase ( );
6761 return t ;
6862 }
6963
You can’t perform that action at this time.
0 commit comments