Uploaded image for project: 'Commons Collections'
  1. Commons Collections
  2. COLLECTIONS-451

Hide constructors of utility classes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-alpha1, 4.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tn Thomas Neidhart
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: