Skip to content
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

Issues with lombok #1248

Merged
merged 1 commit into from
Feb 17, 2025
Merged

Conversation

snjeza
Copy link

@snjeza snjeza commented Feb 17, 2025

.forEach(before::add);
before.sort(Comparator.comparingInt(Comment::getStartPosition));
before = before.stream().filter(comment -> !generated(comment)).toList();
if (!before.isEmpty()) {

Choose a reason for hiding this comment

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

why adding thos condition here? Could it be just an extra .filter(comment -> !generated(comment)) to the the existing stream?

Copy link
Author

Choose a reason for hiding this comment

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

You are right. Fixed.

Signed-off-by: Snjezana Peco <[email protected]>
@mickaelistria mickaelistria merged commit 0d05286 into eclipse-jdtls:dom-with-javac Feb 17, 2025
6 of 9 checks passed
@mickaelistria
Copy link

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issues with lombok
2 participants