Replies: 1 comment
-
|
Hi @H-Lo, may I ask, which tool exactly are you using? Because the tools should have a way to display more information and not just the violation message. More information consists of the rule name, rule description and the URL to get online more information about the rule (which contains the rule description). With the rule name, you can search for the complete rule documentation online: https://docs.pmd-code.org/latest/ Based on your violation message, I figured, that it is the rule AvoidLiteralsInIfCondition. If you follow this link, you see the rule documentation, which provides a bit more information. HTH, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
Is there a way to find the reason that is behind the warning?
When I use Sonar Lint, it has pretty nice description with examples to teach you why not to do a thing that's marked as a warning, but here I have just that statement without any explanation.
Where to find an explanation?
Am I missing something?
P.S.
I am asking about general solution for any warning and its description, not just for that specific one that I used as an example.
BR,
Hrvoje
Beta Was this translation helpful? Give feedback.
All reactions