Enforcing no author tags in javadocs

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Enforcing no author tags in javadocs

John D. Ament
Hi,

Is it possible to configure a javadoc check currently that ensures that no @author tag is present?  I tried plugging in some regexs, but didn't quite work as expected.

John

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Checkstyle-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user
Reply | Threaded
Open this post in threaded view
|

Vedr.: Enforcing no author tags in javadocs

Mogens Bramm
Hi,

I use the following:

                <module name="WriteTag">
                        <property name="tag" value="@author"/>
                        <property name="tagFormat" value="\S"/>
                        <property name="tagSeverity" value="error"/>
                </module>
Best regards,

Mogens




"John D. Ament" <[hidden email]>

08-07-2013 02:08

Besvar venligst til
[hidden email]

4498b9bb-f312-35ba-8821-31919e321319
Til
[hidden email]
cc
Emne
[Checkstyle-user] Enforcing no author tags in javadocs





Hi,

Is it possible to configure a javadoc check currently that ensures that no @author tag is present?  I tried plugging in some regexs, but didn't quite work as expected.

John------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
Checkstyle-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Checkstyle-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user