You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Neidhart (JIRA)" <ji...@apache.org> on 2013/03/17 19:25:14 UTC

[jira] [Resolved] (COLLECTIONS-451) Hide constructors of utility classes

     [ https://issues.apache.org/jira/browse/COLLECTIONS-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Neidhart resolved COLLECTIONS-451.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0

Changed in r1457508.
                
> 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
>             Fix For: 4.0
>
>
> 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