Skip to content

Conversation

@Laurens-W
Copy link
Contributor

What's changed?

Added extra guarding against NPE

What's your motivation?

Prevent NPEs for top level functions in kotlin

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

@Laurens-W Laurens-W self-assigned this Oct 29, 2025
@Laurens-W Laurens-W added the bug Something isn't working label Oct 29, 2025
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Oct 29, 2025
@Laurens-W Laurens-W force-pushed the covarient-equals-kotlin branch from 6fd0db8 to 6117816 Compare October 30, 2025 12:20
…qualsTest.java

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@Laurens-W Laurens-W marked this pull request as ready for review November 3, 2025 10:21
@Laurens-W Laurens-W requested a review from timtebeek November 3, 2025 12:40
@github-project-automation github-project-automation bot moved this from In Progress to Ready to Review in OpenRewrite Nov 3, 2025
@timtebeek timtebeek merged commit 475af6c into main Nov 3, 2025
2 checks passed
@timtebeek timtebeek deleted the covarient-equals-kotlin branch November 3, 2025 12:48
@github-project-automation github-project-automation bot moved this from Ready to Review to Done in OpenRewrite Nov 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants