Skip to content

Commit 2f66f3a

Browse files
committed
fix: java
1 parent 0628650 commit 2f66f3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/cli/lib/type-generation/languages/java.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public class <%- toPascalCase(collection.name) %> {
9292
if (this == obj) return true;
9393
if (obj == null || getClass() != obj.getClass()) return false;
9494
<%- toPascalCase(collection.name) %> that = (<%- toPascalCase(collection.name) %>) obj;
95-
return <% collection.attributes.forEach((attri, index) => { %>Objects.equals(<%- attr.key %>, that.<%- attr.key %>)<% if (index < collection.attributes.length - 1) { %> &&
95+
return <% collection.attributes.forEach((attr, index) => { %>Objects.equals(<%- attr.key %>, that.<%- attr.key %>)<% if (index < collection.attributes.length - 1) { %> &&
9696
<% } }); %>;
9797
}
9898

0 commit comments

Comments
 (0)