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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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