Re: Disable check for getters and setters
"Edelson, Justin" <[email protected]>
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <48DE874E82759E4090ABEE331414CABF01BEAC3A@WISECRACK.mtvn.ad.viacom.com> |
According to the documentation of the allowMissingPropertyJavadoc (http://checkstyle.sourceforge.net/config_javadoc.html#JavadocMethod), it only applies to accessors (getters and setters). -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Marcelo Alcantara Sent: Monday, June 02, 2008 11:17 AM To: [email protected] Subject: Re: [Checkstyle-user] Disable check for getters and setters Hi Justin, Thanks for your response. But in this case it would also allow to not have javadocs in other methods that are not getters or setters, right? Thanks again. Marcelo On Mon, Jun 2, 2008 at 11:44 AM, Edelson, Justin <[email protected]> wrote: > <module name="JavadocMethod"> > <property name="allowMissingPropertyJavadoc" value="true" /> > </module> > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of > Marcelo Alcantara > Sent: Monday, June 02, 2008 10:42 AM > To: [email protected] > Subject: [Checkstyle-user] Disable check for getters and setters > > Hi, > > Somebody knows how can I disable the getters and setters javadoc check > in checkstyle? We think here that if the variable is well documented > it is not necessary to document the getters and setters. > > Thanks in advance. > > Marcelo > > > > -- > Marcelo Alcantara > Senior Developer/Architect > -------------------------------------------------------- > [email protected] > +55 11 81968823 > > ---------------------------------------------------------------------- > -- > - > This SF.net email is sponsored by: Microsoft Defy all challenges. > Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Checkstyle-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/checkstyle-user > > ---------------------------------------------------------------------- > --- This SF.net email is sponsored by: Microsoft Defy all challenges. > Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Checkstyle-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/checkstyle-user > -- Marcelo Alcantara Senior Developer/Architect -------------------------------------------------------- [email protected] +55 11 81968823 ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Checkstyle-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/checkstyle-user ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/