commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Kestle <>
Subject Re: [collections] Generifying Collections
Date Thu, 26 Oct 2006 02:15:02 GMT
I for one would like to see the getInstance() methods renamed to 
getClassName().  With java 5 static importing, it enables concise 
construction/getting without specifying the class name.  It's short, 
highly readable, and most of the time the generic types can be inferred.

It's things like this that require a rewrite/break with previous 
compatibility.  Let alone the methods that can't have sensible returns 
because they're void at the moment.



Stephen Smith wrote:
> I agree on the latter point - that JSE5 is in some ways a complete 
> shift in Java paradigm. Whatever solution is chosen going forward, +1 
> for a cross-Commons approach... otherwise figuring out compatibility 
> between Commons JARs will become even tougher.
> Stephen Colebourne wrote:
>> We need to remember why JDK5 is so important - its because its almost 
>> a whole new language. Its not a small incremental step like prior 
>> upgrades. We should treat it as such. (Especially as lots of big 
>> enterprises are perfectly happy on JDK1.4 and aren't planning to 
>> upgrade)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message