CheckStyle and javadoc for override methods
  Home FAQ Contact Sign in
comp.lang.java.softwaretools only
 
Advanced search
POPULAR GROUPS

more...

comp.lang.java.softwaretools Profile…
 Up
CheckStyle and javadoc for override methods         


Author: Efi Merdler
Date: Mar 17, 2007 09:35

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, is there a rule that allows me to add this type of special
condition?

Thank you,
Efi
1 Comment
Re: CheckStyle and javadoc for override methods         


Date: Mar 19, 2007 06:59

On Sat, 17 Mar 2007 16:35:24 -0000, Efi Merdler gmail.com> wrote:
> 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, 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.
Show full article (0.56Kb)
no comments