Skip to content

Fix JavaTemplate statement replacement regression for non-J.Block parent cursors#7123

Merged
timtebeek merged 1 commit intomainfrom
tim/fix-template-non-block-parent
Mar 24, 2026
Merged

Fix JavaTemplate statement replacement regression for non-J.Block parent cursors#7123
timtebeek merged 1 commit intomainfrom
tim/fix-template-non-block-parent

Conversation

@timtebeek
Copy link
Member

Summary

Test plan

Copy link
Contributor

@bmuschko bmuschko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be worth adding some test cases for the scenarios if we don't have them yet.

@timtebeek
Copy link
Member Author

Thanks yes we added those for returns in #7096
The issue in rewrite-testing-frameworks was in incorrect cursor, but that ought to be rare.

@timtebeek timtebeek merged commit 84de4cf into main Mar 24, 2026
1 check passed
@timtebeek timtebeek deleted the tim/fix-template-non-block-parent branch March 24, 2026 19:09
@github-project-automation github-project-automation bot moved this from In Progress to Done in OpenRewrite Mar 24, 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.

2 participants