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

Hide constructors of utility classes

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-alpha1, 4.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: