Re: Any Checkstyle users?
- From: slippymississippi@xxxxxxxxx
- Date: 31 Jan 2006 06:03:54 -0800
> 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.
Not just HashMap:
"java.util.GregorianCalendar, java.util.Hashtable, java.util.HashSet,
java.util.HashMap, java.util.ArrayList, java.util.LinkedList,
java.util.LinkedHashMap, java.util.LinkedHashSet, java.util.TreeSet,
java.util.TreeMap, java.util.Vector"
I suppose the check is pushing me to pass/return custom data objects
that implement Java-specific data structures behind the scenes? I
can't see how you would write meaningful code without eventually using
one of the listed data structures, but I can see vaguely how it would
be beneficial to wrapper the implementation of these data structures.
.
- Follow-Ups:
- Re: Any Checkstyle users?
- From: Chris Uppal
- Re: Any Checkstyle users?
- From: Daniel Dyer
- 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
- Re: Any Checkstyle users?
- From: Chris Uppal
- Any Checkstyle users?
- Prev by Date: Re: java money
- Next by Date: Re: Java 1.6 Heisenbug involving startsWith
- Previous by thread: Re: Any Checkstyle users?
- Next by thread: Re: Any Checkstyle users?
- Index(es):
Relevant Pages
|