commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Colebourne <>
Subject Re: [collections] VOTE: Collections-java5 direction
Date Sun, 11 Mar 2007 21:34:35 GMT
> For example. if we're really going to push the boat out on this, what 
> about hiding public constructors in static utility classes? It's the 
> sort of thing CheckStyle whines about, and normally with good reason. 
> I've never understood why CollectionUtils#CollectionUtils is public, 
> even with a comment along the lines of "should not normally be used". If 
> every method is static (and the class is therefore potentially 
> finalised), when would it ever be used?

Tools like Velocity need an instance as they can't handle static methods.


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

View raw message