One thing to do Ben is to check the project developers guide; and perhaps copy your rant in as a project guideline.
Jody On Tue, Jun 15, 2010 at 3:53 PM, Ben Caradoc-Davies <ben.caradoc-dav...@csiro.au> wrote: > On 15/06/10 13:25, Jody Garnett wrote: >> >> Can we arrange for maven to yell at us when HashMap is used? > > I do not think we should do this ,as there are legitimate occasions where > HashMap may be used for performance, particularly when we have many > insertions, one iteration, and iteration order is not exposed (e.g. the > contents are re-sorted in another container). I think being too dogmatic, > and in particular, allowing a simple rule-of-thumb enforced in maven to > override the judgement of an experienced developer might not be the best > approach. > >> Ben I have been known to use a couple of the other Map implementations; >> such as ConcurrentHashMap (and we also have our own WeakHashMap) - we may >> need to check if these implementations suffer the same weaknesses as >> HashMap. > > That is a good point. > > -- > Ben Caradoc-Davies <ben.caradoc-dav...@csiro.au> > Software Engineering Team Leader > CSIRO Earth Science and Resource Engineering > Australian Resources Research Centre > ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel