8000 Fix #1639 #5832: Use filtered comment text for UnnecessaryImport by adangel · Pull Request #5833 · pmd/pmd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix #1639 #5832: Use filtered comment text for UnnecessaryImport #5833

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

Merged
merged 1 commit into from
Jun 20, 2025

Conversation

adangel
Copy link
Member
@adangel adangel commented Jun 18, 2025

Describe the PR

Filtered comment text has the prefixes "/**" and "*" removed, so that only the plain javadoc text is used. This allows for correct multiline detection of references in javadoc.

Related issues

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

Filtered comment text has the prefixes "/**" and "*" removed, so that
only the plain javadoc text is used. This allows for correct multiline
detection of references in javadoc.
@adangel adangel added this to the 7.15.0 milestone Jun 18, 2025
Copy link

Documentation Preview

Compared to main:
This changeset changes 0 violations,
introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 5 violations, 25 errors and 8 configuration errors.

Regression Tester Report

(comment created at 2025-06-18 09:19:49+00:00 for cecb813)

@adangel adangel merged commit cecb813 into pmd:main Jun 20, 2025
12 checks passed
adangel added a commit that referenced this pull request Jun 20, 2025
Merged pull request #5833 from adangel:java/issue-5832-unnecessaryimport
@adangel adangel deleted the java/issue-5832-unnecessaryimport branch June 20, 2025 19:06
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.

[java] UnnecessaryImport false positive for multiline @see Javadoc [java] UnnecessaryImport false positive for multiline @link Javadoc
1 participant
0