Remove redundant Character.toLowerCase() in BeanPropertyRowMapper
This commit removes a redundant Character.toLowerCase() invocation in BeanPropertyRowMapper.underscoreName(). Closes gh-25361
This commit is contained in:
@@ -255,7 +255,7 @@ public class BeanPropertyRowMapper<T> implements RowMapper<T> {
|
||||
result.append('_').append(Character.toLowerCase(s));
|
||||
}
|
||||
else {
|
||||
result.append(Character.toLowerCase(s));
|
||||
result.append(s);
|
||||
}
|
||||
}
|
||||
return result.toString();
|
||||
|
||||
Reference in New Issue
Block a user