[ 
https://issues.apache.org/jira/browse/COLLECTIONS-451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13604644#comment-13604644
 ] 

Matt Benson commented on COLLECTIONS-451:
-----------------------------------------

In the past this was done, AIUI, so that we would play nicely with Velocity, 
which at the time required an object instance to invoke even a static method.  
I'm pretty sure this is no longer the case for Velocity, and during a major 
release would certainly be the most opportune time to discontinue this 
practice.  +1 from me.
                
> Hide constructors of utility classes
> ------------------------------------
>
>                 Key: COLLECTIONS-451
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-451
>             Project: Commons Collections
>          Issue Type: Improvement
>            Reporter: Thomas Neidhart
>
> All the utility classes like MapUtils have public constructors, although they 
> only have static method.
> Normal practice is to hide the default constructor to prevent object creation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to