From 6dce1fb00c2cd0097809a3303558a8ac6be32d14 Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Tue, 19 Nov 2024 21:09:02 +0100 Subject: [PATCH] Update AddColumnAnnotation.java --- .../org/openrewrite/java/migrate/javax/AddColumnAnnotation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/openrewrite/java/migrate/javax/AddColumnAnnotation.java b/src/main/java/org/openrewrite/java/migrate/javax/AddColumnAnnotation.java index 888b77f3ec..8a01318f7a 100644 --- a/src/main/java/org/openrewrite/java/migrate/javax/AddColumnAnnotation.java +++ b/src/main/java/org/openrewrite/java/migrate/javax/AddColumnAnnotation.java @@ -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); }