Re: Disable check for getters and setters
"Oliver Burn" <[email protected]>
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <[email protected]> |
Correct - it only applies to setters and getters. I wrote this extension out of frustration with having to write "boiler plate" javadoc. On Tue, Jun 3, 2008 at 1:37 AM, Edelson, Justin <[email protected]> wrote: > 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/ > _______________________________________________ > 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