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:
parent
33643593e2
commit
364939b2a3
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue