File tree 1 file changed +1
-7
lines changed
src/main/java/org/mybatis/dynamic/sql/util
1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 15
15
*/
16
16
package org .mybatis .dynamic .sql .util ;
17
17
18
- import org .jspecify .annotations .Nullable ;
19
-
20
18
public interface StringUtilities {
21
19
22
20
static String spaceAfter (String in ) {
@@ -27,10 +25,6 @@ static String spaceBefore(String in) {
27
25
return " " + in ; //$NON-NLS-1$
28
26
}
29
27
30
- static @ Nullable String safelyUpperCase (@ Nullable String s ) {
31
- return s == null ? null : s .toUpperCase ();
32
- }
33
-
34
28
static String toCamelCase (String inputString ) {
35
29
StringBuilder sb = new StringBuilder ();
36
30
@@ -63,7 +57,7 @@ static String formatConstantForSQL(String in) {
63
57
static <T > T upperCaseIfPossible (T value ) {
64
58
if (value instanceof String ) {
65
59
@ SuppressWarnings ("unchecked" )
66
- T t = (T ) safelyUpperCase ((String ) value );
60
+ T t = (T ) ((String ) value ). toUpperCase ( );
67
61
return t ;
68
62
}
69
63
You can’t perform that action at this time.
0 commit comments