Report unused Javadoc tags with no trailing whitespace(bug #2506962). Thanks to Ashlesha Patil for patch #2781021.

This commit is contained in:
Oliver Burn 2009-12-13 10:04:04 +00:00
parent 073d09569f
commit 63d2b622ab
2 changed files with 5 additions and 1 deletions

View File

@ -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 =

View File

@ -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>