Skip to content

Commit e6ac866

Browse files
committed
Add missing 'Locale.English'.
1 parent e04cb74 commit e6ac866

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/ibatis/executor/resultset/DefaultResultSetHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ private boolean anyNotNullColumnHasValue(ResultMapping resultMapping, String col
988988
return false;
989989
} else if (columnPrefix != null) {
990990
for (String columnName : rsw.getColumnNames()) {
991-
if (columnName.toUpperCase().startsWith(columnPrefix.toUpperCase())) {
991+
if (columnName.toUpperCase(Locale.ENGLISH).startsWith(columnPrefix.toUpperCase(Locale.ENGLISH))) {
992992
return true;
993993
}
994994
}

0 commit comments

Comments
 (0)