Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jdubois committed Sep 17, 2018
2 parents b16b308 + 3c6383e commit 6062e5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public class <%= entityClass %>Criteria implements Serializable {
public int hashCode() {
return Objects.hash(
<%_ filterVariables.forEach((filterVariable, index) => { _%>
<%_ if (filterVariables.length == (index - 1)) { _%>
<%_ if (filterVariables.length === (index + 1)) { _%>
<%= filterVariable.name %>
<%_ } else { _%>
<%= filterVariable.name %>,
Expand Down

0 comments on commit 6062e5f

Please sign in to comment.