mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-09 08:42:18 +00:00
#1573 - Incorrect CamelCase conversion when number proceeds uppercase letter
This commit is contained in:
1 parent
4b0230e862
commit
8410de8831
2 files changed
+21
-6
No files matched your search
@@ -26,9 +26,9 @@ public class CamelCaseHelper {
|
||||
} else if (Character.isDigit(c)) {
|
||||
if (i > lastUpper + 1 && !digitsCompressed) {
|
||||
sb.append("_");
|
||||
lastUpper = i;
|
||||
}
|
||||
sb.append(c);
|
||||
lastUpper = i;
|
||||
|
||||
} else if (Character.isUpperCase(c)) {
|
||||
if (i > lastUpper + 1) {
|
||||
|
||||
Reference in new issue
Block a user