Skip to content

Commit

Permalink
Update AddColumnAnnotation.java
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek authored Nov 19, 2024
1 parent 7adeff2 commit 6dce1fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public J.VariableDeclarations visitVariableDeclarations(J.VariableDeclarations m

// Update existing @Column annotation
J.VariableDeclarations updatedVariable = (J.VariableDeclarations) new AddOrUpdateAnnotationAttribute(
"javax.persistence.Column", "name", "element", true)
"javax.persistence.Column", "name", "element", true, null)
.getVisitor().visit(multiVariable, ctx, getCursor().getParentTreeCursor());
return super.visitVariableDeclarations(updatedVariable, ctx);
}
Expand Down

0 comments on commit 6dce1fb

Please sign in to comment.