Re: Any Checkstyle users?
- From: "Chris Uppal" <chris.uppal@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 31 Jan 2006 13:15:36 -0000
Rick Giles wrote:
[me:]
> > The real problem here is not the use of a "magic number", but the use
> > of a checking tool which will blindly apply the same so-called rule to
> > every situation, regardless of whether it is applicable. If Checkstyle
> > doesn't provide a way to annotate your code to say "I have reviewed
> > this 'problem' code and it is fine as it is", then I'd suggest dropping
> > Checkstyle.
> >
> Yes, it does; see SuppressionCommentFilter at
> http://checkstyle.sourceforge.net/config.html
Good. (Although the feature seems rather awkward to use for my taste.)
BTW, it appears (from more recent posts in the thread) that the issue wasn't
the use of a magic number at all, but of a variable of type HashMap.
-- chris
.
- Follow-Ups:
- Re: Any Checkstyle users?
- From: slippymississippi
- Re: Any Checkstyle users?
- References:
- Any Checkstyle users?
- From: slippymississippi
- Re: Any Checkstyle users?
- From: mikm
- Re: Any Checkstyle users?
- From: mikm
- Re: Any Checkstyle users?
- From: Chris Uppal
- Re: Any Checkstyle users?
- From: Rick Giles
- Any Checkstyle users?
- Prev by Date: Re: client-server connections
- Next by Date: Re: RFID OR GPS OR XYZ?
- Previous by thread: Re: Any Checkstyle users?
- Next by thread: Re: Any Checkstyle users?
- Index(es):