Repository navigation
[ui] Improvements to designer syntax highlighting - #1011
Merged
Merged
Conversation
Member
|
@oowekyala amazing! Merged, I fixed the checkstyle issues along the way. |
Eljees
added a commit
to Eljees/pmd
that referenced
this pull request
Aug 6, 2026
Both were raised in review. The direct-return case duplicates the existing 'pmd#1011 CloseResource Rule ignores Constructors' test a few hundred lines up, and the nested-block one is not about pmd#2840 at all - neither belongs in a change scoped to pmd#6742. CloseResourceTest: 101 tests, 0 failures. Signed-off-by: Eljees <[email protected]>
UncleOwen
added a commit
that referenced
this pull request
Aug 7, 2026
… assigned without an initializer (#6918) * [java] Fix #6742: CloseResource false positive for a wrapped resource assigned without an initializer getWrappedResourceType only looked at the variable initializer, so the split declaration/assignment form did not recognize the wrapping resource and was reported. Per JLS 14.4.2 both shapes are equivalent. Signed-off-by: Eljees <[email protected]> * [java] CloseResource: drop the two #2840 test cases from this PR Both were raised in review. The direct-return case duplicates the existing '#1011 CloseResource Rule ignores Constructors' test a few hundred lines up, and the nested-block one is not about #2840 at all - neither belongs in a change scoped to #6742. CloseResourceTest: 101 tests, 0 failures. Signed-off-by: Eljees <[email protected]> * [docs] Update release notes * Empty commit to re-trigger CI --------- Signed-off-by: Eljees <[email protected]> Co-authored-by: Sören Glimm <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In particular, the XPath syntax highlighter was bugged (eg didn't recognise comments, lacked many keywords) and what it did tokenize correctly was not styled very well