GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — [java] Fix #6737: Use next annotatable sibling for suppressing top level by adangel · Pull Request #6902 · pmd/pmd Conversation
Member
Describe the PRIf the node itself is not annotatable and if the node is a top level node (like ImportStatement), then use the next annotatable sibling node. This is then most likely the main class declaration in the file. This restores the ability to suppress warnings with annotations. Related issues
Ready?
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
|
Compared to main: (comment created at 2026-08-02 18:23:38+00:00 for 66636fa) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
# Conflicts: # docs/pages/release_notes.md
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
…level (pmd#6902) * [java] Fix pmd#6737: Use next annotatable sibling for supressing top level * Fix spelling --------- Co-authored-by: Sören Glimm <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[java] TooManyStaticImports: @SuppressWarnings("PMD.TooManyStaticImports") has stopped working
There was an error while loading. Please reload this page.