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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Gilles Sadowski (Jira)

     [ 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