Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#659 Package + annotation throws missing Javadoc

release_1.0
open
nobody
JavaDoc (21)
5
2014-02-09
2011-11-02
Julien HENRY
No

I have a package file (package-info.java) where I have Javadoc and annotation:
/*
* Some javadoc.
/
@javax.xml.bind.annotation.XmlSchema(namespace = "http://namespace/1.0",
elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
package com.mycompany.ws;

The rule Javadoc style is not happy with that and throws "Missing a Javadoc comment." on the package declaration.

Discussion

  • Oliver Burn
    Oliver Burn
    2012-04-22

    What version of Checkstyle are you using?

    I am unable to reproduce with the latest version of Checkstyle

     
  • Julien HENRY
    Julien HENRY
    2012-04-22

    It was the version embedded in Sonar at that time. Probably 5.2.

     
  • Roman Ivanov
    Roman Ivanov
    2014-02-06

    • labels: --> JavaDoc
    • Group: --> release_1.0
     
  • Roman Ivanov
    Roman Ivanov
    2014-02-06