commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomáš Procházka <t.procha...@centrum.cz>
Subject toMap conversion (bug)
Date Sun, 19 Feb 2006 10:33:25 GMT
Hi.

I found some problem with toMap conversion, it use HashMap, but this collection not preserve
order of items, which is sometimes useful. Why you don't use LinkedHashMap in

http://cvs.apache.org/viewcvs.cgi/jakarta/commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/BasicRowProcessor.java?view=markup

on the line:

private static class CaseInsensitiveHashMap extends HashMap {

What is yours opinion?

-- 
Tomas Prochazka


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message