| Author |
Checkstyle Configuration Issue (Javadoc comments)
|
H Grey
Greenhorn
Joined: Mar 06, 2011
Posts: 1
|
|
I'm new to this forum, so if I commit a posting faux pas then please let me know and I will correct it. (Edit: I just realized that I posted this in the Testing forum rather than the intended Ant, Maven and Other Build Tools forum; my apologies.)
I recently set up a Checkstyle 'checks' xml configuration file, which I wanted to check class-level Javadoc comments for @author and @version tags. Furthermore, I only wanted Checkstyle to check Javadoc comments for non-private classes.
If I add the following xml, then it successfully finds Javadocs without @author and @version, but it checks private classes as well.
I then modified the file to contain the following:
Now Checkstyle checks all non-private classes, BUT it no longer checks for the @author and @version tags. Am I missing something here?
Thank you in advance for your help.
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26193
|
|
H Grey wrote:I'm new to this forum, so if I commit a posting faux pas then please let me know and I will correct it. (Edit: I just realized that I posted this in the Testing forum rather than the intended Ant, Maven and Other Build Tools forum; my apologies.)
No problem. I've moved it for you.
|
 |
 |
|
|
subject: Checkstyle Configuration Issue (Javadoc comments)
|
|
|