Skip to content

Commit 98ce901

Browse files
committed
Fix J.InstanceOf constructor
1 parent 74a6d19 commit 98ce901

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • rewrite-java/src/main/java/org/openrewrite/java/tree

rewrite-java/src/main/java/org/openrewrite/java/tree/J.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2942,7 +2942,7 @@ public String toString() {
29422942

29432943
@FieldDefaults(makeFinal = true, level = AccessLevel.PRIVATE)
29442944
@EqualsAndHashCode(callSuper = false, onlyExplicitlyIncluded = true)
2945-
@RequiredArgsConstructor
2945+
@RequiredArgsConstructor(onConstructor_ = {@JsonCreator(mode = JsonCreator.Mode.PROPERTIES)})
29462946
@AllArgsConstructor(access = AccessLevel.PRIVATE)
29472947
final class InstanceOf implements J, Expression, TypedTree {
29482948
@Nullable

0 commit comments

Comments
 (0)