-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[apex] ApexDoc false-positive for the first method of an annotated Apex class #4774
Comments
Hi Team, @[email protected] could you please help on the issue ASAP? Thanks very much |
This is not a false positive. As per the rule's documentation, the rule will flag:
Your sample |
@jsotuyod |
I can confirm: If the annotation I guess, there is a bug when we map the comments to the (nearest) node. |
@adangel The issue blocks my project to use 7.0 . |
Thanks for the reminder. I've just verified, that this is actually already fixed in the current master branch, probably with the switch from Jorje to apex-parser (#3766). |
Affects PMD Version: 7.0.0-rc4
Rule: ApexDoc
Description:
Code Sample demonstrating the issue:
Expected outcome:
PMD reports a violation at line 9, but that's wrong. That's a false positive.
Running PMD through: [CLI]
The text was updated successfully, but these errors were encountered: