Report unused Javadoc tags with no trailing whitespace(bug #2506962). Thanks to Ashlesha Patil for patch #2781021.
This commit is contained in:
parent
073d09569f
commit
63d2b622ab
|
|
@ -51,7 +51,7 @@ public class JavadocMethodCheck extends AbstractTypeAwareCheck
|
|||
{
|
||||
/** compiled regexp to match Javadoc tags that take an argument * */
|
||||
private static final Pattern MATCH_JAVADOC_ARG =
|
||||
Utils.createPattern("@(throws|exception|param)\\s+(\\S+)\\s+\\S");
|
||||
Utils.createPattern("@(throws|exception|param)\\s+(\\S+)\\s+\\S*");
|
||||
|
||||
/** compiled regexp to match first part of multilineJavadoc tags * */
|
||||
private static final Pattern MATCH_JAVADOC_ARG_MULTILINE_START =
|
||||
|
|
|
|||
|
|
@ -47,6 +47,10 @@
|
|||
<li>
|
||||
Updated documentation for writing checks (bug #2783451).
|
||||
</li>
|
||||
<li>
|
||||
Report unused Javadoc tags with no trailing whitespace(bug #2506962).
|
||||
Thanks to Ashlesha Patil for patch #2781021.
|
||||
</li>
|
||||
</ul>
|
||||
<p>Notes:</p>
|
||||
<ul>
|
||||
|
|
|
|||
Loading…
Reference in New Issue