Skip to content

Commit 5fca451

Browse files
authored
Merge pull request #2326 from Fudeveloper/add-missing-locale
Add missing Locale.ENGLISH
2 parents 43d94b4 + e6ac866 commit 5fca451

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)