Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
remove commented code
  • Loading branch information
wing328 committed Jan 8, 2019
commit b7f8d134f6374f339ab9184de42c8c22f0e774fc
Original file line number Diff line number Diff line change
Expand Up @@ -631,10 +631,6 @@ public String toVarName(String name) {
// pet_id => petId
name = camelize(name, true);

/*if ("type".equals(name.toLowerCase(Locale.ROOT))) { // to avoid "getType", which is not allowed to override
return "theType"; // type => theType
}*/

// for reserved word or word starting with number, append _
if (isReservedWord(name) || name.matches("^\\d.*")) {
name = escapeReservedWord(name);
Expand Down