Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Validates Javadoc comments to help ensure they are well formed. The following checks are performed:
      <li>Ensures the first sentence ends with proper punctuation (That is a period, question mark, or exclamation mark, by default). 
      Javadoc automatically places the first sentence in the method summary table and index. With out proper punctuation the Javadoc may be malformed. 
      All items eligible for the {@inheritDoc} tag are exempt from this requirement.</li>
      <li>Check text for Javadoc statements that do not have any description. 
      This includes both completely empty Javadoc, and Javadoc with only tags such as @param and @return.</li>
      <li>Check text for incomplete HTML tags. Verifies that HTML tags have corresponding end tags and issues an "Unclosed HTML tag found:" error if not. 
      An "Extra HTML tag found:" error is issued if an end tag is found without a previous open tag.</li>
      <li>Check that a package Javadoc comment is well-formed (as described above) and NOT missing from any files.</li>
      <li>Check for allowed HTML tags. The list of allowed HTML tags is "a", "abbr", "acronym", "address", "area", "b", 
      "bdo", "big", "blockquote", "br", "caption", "cite", "code", "colgroup", "del", "div", "dfn", "dl", "em", "fieldset", 
      "h1" to "h6", "hr", "i", "img", "ins", "kbd", "li", "ol", "p", "pre", "q", "samp", "small", "span", "strong", 
      "sub", "sup", "table", "tbody", "td", "tfoot", "th", "thread", "tr", "tt", "ul"</li>
New to GrepCode? Check out our FAQ X