Skip to content

Remove CLI specific NPE checks#7386

Merged
MBoegers merged 1 commit intomainfrom
mboegers/rollback-npe-fix
Apr 29, 2026
Merged

Remove CLI specific NPE checks#7386
MBoegers merged 1 commit intomainfrom
mboegers/rollback-npe-fix

Conversation

@MBoegers
Copy link
Copy Markdown
Contributor

@MBoegers MBoegers commented Apr 15, 2026

What's changed?

To enable the usage of ChangeDependencyArtifactIdAndGroupId in the Moderne CLI I added the null checks. After we fix the original bug in the CLI we should roll back the changes.

What's your motivation?

Don't pollute recipes with CLI specific fixes.

Anything in particular you'd like reviewers to focus on?

Anyone you would like to review specifically?

Have you considered any alternatives or workarounds?

Any additional context

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite Apr 15, 2026
@MBoegers MBoegers changed the title remove NPE preventing check that should be not needed Remove CLI specific NPE checks Apr 15, 2026
@MBoegers MBoegers marked this pull request as ready for review April 29, 2026 13:14
@MBoegers
Copy link
Copy Markdown
Contributor Author

The fix has been merged upstream; we can remove it again.

@MBoegers MBoegers requested review from Copilot and timtebeek and removed request for Copilot April 29, 2026 13:15
@github-project-automation github-project-automation Bot moved this from In Progress to Ready to Review in OpenRewrite Apr 29, 2026
@MBoegers MBoegers merged commit 979d63b into main Apr 29, 2026
5 checks passed
@github-project-automation github-project-automation Bot moved this from Ready to Review to Done in OpenRewrite Apr 29, 2026
@MBoegers MBoegers deleted the mboegers/rollback-npe-fix branch April 29, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants