Skip to content

Fix AddProperty constructor calls for rewrite#7275#987

Merged
timtebeek merged 1 commit intomainfrom
fix/add-property-constructor
Apr 6, 2026
Merged

Fix AddProperty constructor calls for rewrite#7275#987
timtebeek merged 1 commit intomainfrom
fix/add-property-constructor

Conversation

@timtebeek
Copy link
Copy Markdown
Member

Summary

  • openrewrite/rewrite#7275 added insertMode and insertProperty fields to AddProperty, changing the Lombok all-args constructor from 5 to 7 parameters
  • Updated all AddProperty constructor calls to pass null for the two new parameters
  • Fixes scheduled CI failures caused by compilation errors

Changed files

  • AddSpringProperty.java — 1 call site
  • MigrateDatabaseCredentialsForToolProperties.java — 2 call sites
  • MigrateArtemisProperties.java — 1 call site

Test plan

  • ./gradlew compileJava passes
  • ./gradlew test (running)

rewrite#7275 added `insertMode` and `insertProperty` fields to
`AddProperty`, changing the Lombok all-args constructor from 5 to 7
parameters. Pass `null` for the two new parameters to restore
compilation.
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Apr 6, 2026
@timtebeek timtebeek merged commit a136a05 into main Apr 6, 2026
1 check passed
@timtebeek timtebeek deleted the fix/add-property-constructor branch April 6, 2026 09:20
@github-project-automation github-project-automation bot moved this from In Progress to Done in OpenRewrite Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant