Fix rendering CommentDefaultAccessModifier description as code
This commit is contained in:

committed by
Andreas Dangel

parent
71ad5783b7
commit
ad853d14d7
@ -82,11 +82,9 @@ A rule for the politically correct... we don't want to offend anyone.
|
|||||||
message="Missing commented default access modifier"
|
message="Missing commented default access modifier"
|
||||||
externalInfoUrl="${pmd.website.baseurl}/rules/java/comments.html#CommentDefaultAccessModifier">
|
externalInfoUrl="${pmd.website.baseurl}/rules/java/comments.html#CommentDefaultAccessModifier">
|
||||||
<description>
|
<description>
|
||||||
<![CDATA[
|
|
||||||
To avoid mistakes if we want that a Method, Field or Nested class have a default access modifier
|
To avoid mistakes if we want that a Method, Field or Nested class have a default access modifier
|
||||||
we must add a comment at the beginning of the Method, Field or Nested class.
|
we must add a comment at the beginning of the Method, Field or Nested class.
|
||||||
By default the comment must be /* default */, if you want another, you have to provide a regex.
|
By default the comment must be /* default */, if you want another, you have to provide a regex.
|
||||||
]]>
|
|
||||||
</description>
|
</description>
|
||||||
<priority>3</priority>
|
<priority>3</priority>
|
||||||
<properties>
|
<properties>
|
||||||
|
Reference in New Issue
Block a user