Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-3600

Utility classes should not have public constructors

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v2.6.0
    • Component/s: None
    • Labels:
      None

      Description

      Utility classes, which are collections of static members, are not meant to be instantiated. Even abstract utility classes, which can be extended, should not have public constructors.

      Most utility classes are located in core-common/src/main/java/org/apache/kylin/common/util

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                caolijun1166 Lijun Cao
                Reporter:
                caolijun1166 Lijun Cao
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: