Skip to content

Commit

Permalink
#7201: Take the modelPropertyNaming property into account again (#7202)
Browse files Browse the repository at this point in the history
  • Loading branch information
JFCote authored and wing328 committed Dec 21, 2017
1 parent c1cbf32 commit 572bafe
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,7 @@ public String toVarName(String name) {
return name;
}

// camelize (lower first character) the variable name
// pet_id => petId
name = camelize(name, true);
name = getNameUsingModelPropertyNaming(name);

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

0 comments on commit 572bafe

Please sign in to comment.