[jira] [Created] (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] [Created] (COLLECTIONS-451) Hide constructors of utility classes

Lars Bruun-Hansen (Jira)
Thomas Neidhart created COLLECTIONS-451:
-------------------------------------------

             Summary: 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