Sagewire Logo

CheckStyle and JAVAdoc for override methods

2 Message(s) by 2 Author(s) originally posted in java software tools


From: Efi Merdler Date:   Saturday, March 17, 2007
Hello,
When adding JAVA docs for methods that I override under eclipse, I get
the following JAVA doc:
/*
* (non-JAVAdoc)
*
* @xxxxxxxxxxx JAVA.lang.Runnable#run()
*/

which is fine, however checkstyle thinks that I did not write any
comments, is there a rule that allows me to add this type of special
condition?

Thank you,
Efi


From: Daniel Dyer Date:   Monday, March 19, 2007
wrote in message:

Hello,
When adding JAVA docs for methods that I override under eclipse, I get
the following JAVA doc:
/*
* (non-JAVAdoc)
*
* @xxxxxxxxxxx JAVA.lang.Runnable#run()
*/
which is fine, however checkstyle thinks that I did not write any
comments, is there a rule that allows me to add this type of special
condition?
Thank you,
Efi



That's not a JAVAdoc comment, it has to start with two stars (i.e. /**).

Dan.

--
Daniel Dyer
http://www.uncommons.org



Next Message: Connect to JAVA application from JAVA login form


Blogs related to CheckStyle and JAVAdoc for override methods

FAQs-1 (updated)
Jdk14Logger does not implement Log'* when using the maven-checkstyle-plugin mean?] Where do I configure report plug-ins, like javadoc? [How do I deploy my binary during the deploy phase?] [How do I add main class in a generated jar's ...

Checkclipse
check your code formatting (indentation, spaces, long lines) * watch for very long methods and long parameter lists * check for complete javadoc tags * watch identifier naming conventions for classes, parameters, members etc. ...

CheckStyle and javadoc for override methods
Hello, When adding java docs for methods that I override under eclipse, I get the following java doc: /* * (non-Javadoc) * * @see java.lang.Runnable#run() */ which is fine, however checkstyle thinks that I didn't write any comments, ...


Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional