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"
|
||||
externalInfoUrl="${pmd.website.baseurl}/rules/java/comments.html#CommentDefaultAccessModifier">
|
||||
<description>
|
||||
<![CDATA[
|
||||
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.
|
||||
By default the comment must be /* default */, if you want another, you have to provide a regex.
|
||||
]]>
|
||||
</description>
|
||||
<priority>3</priority>
|
||||
<properties>
|
||||
@ -124,4 +122,4 @@ A rule for the politically correct... we don't want to offend anyone.
|
||||
</example>
|
||||
</rule>
|
||||
|
||||
</ruleset>
|
||||
</ruleset>
|
||||
|
Reference in New Issue
Block a user