Skip to content

Commit c8480cc

Browse files
committed
Coverage
1 parent 1fdb1c2 commit c8480cc

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/main/java/org/mybatis/dynamic/sql/util/StringUtilities.java

+1-7
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
*/
1616
package org.mybatis.dynamic.sql.util;
1717

18-
import org.jspecify.annotations.Nullable;
19-
2018
public 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

0 commit comments

Comments
 (0)