#628 Invalid error "JavaDoc missed for enum"

release_1.0
open
Oliver Burn
5
2014-02-09
2010-12-19
Anonymous
No

This is the code:

/**
 * some text.
 */
public class Foo {
  /**
   * Some comment...
   */
  public enum Bar {
    /**
     * some text.
     */
    ABC,
    /**
     * some text.
     */
    CDE;
  };
}

Checkstyle says Missing a Javadoc comment. twice (line with ABC and line with CDE). What is it about? Where should I add comment? JavaDoc works just fine.

Discussion


  • Anonymous
    2010-12-19

    Initial discussion is there: http://stackoverflow.com/questions/4478662

     
    Last edit: Anonymous 2014-03-24
  • Roman Ivanov
    Roman Ivanov
    2014-02-06

    • labels: Core Framework --> Core Framework, JavaDoc
    • Group: --> release_1.0