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:
Johnny Lim
2020-07-06 22:31:18 +09:00
committed by GitHub
parent 33643593e2
commit 364939b2a3

View File

@@ -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();