-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a new recipe to add comments to a Java method #4719
Add a new recipe to add comments to a Java method #4719
Conversation
agoncal
commented
Nov 26, 2024
•
edited by timtebeek
Loading
edited by timtebeek
- Fixes Add a new recipe to add comments to a Java method #4716
rewrite-java/src/main/java/org/openrewrite/java/AddCommentToMethod.java
Outdated
Show resolved
Hide resolved
rewrite-java/src/test/java/org/openrewrite/java/AddCommentToMethodTest.java
Show resolved
Hide resolved
rewrite-java/src/test/java/org/openrewrite/java/AddCommentToMethodTest.java
Outdated
Show resolved
Hide resolved
@timtebeek I have disabled two tests that are failing because of a strange issue. What shall I do with those tests? |
…thodTest.java Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
rewrite-java/src/main/java/org/openrewrite/java/AddCommentToMethod.java
Outdated
Show resolved
Hide resolved
rewrite-java/src/test/java/org/openrewrite/java/AddCommentToMethodTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@timtebeek I have disabled two tests that are failing because of a strange issue. What shall I do with those tests?
No worries; I was able to get them going in 7b17b02 . With that I think we're good to merge, thanks!
Also handled an additional edge case for comments that contain new lines just to be safe. Hope you agree with the choice there. |