You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/09/27 10:43:00 UTC

[jira] [Commented] (KYLIN-3600) Utility classes should not have public constructors

    [ https://issues.apache.org/jira/browse/KYLIN-3600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16630163#comment-16630163 ] 

ASF GitHub Bot commented on KYLIN-3600:
---------------------------------------

caolijun1166 opened a new pull request #266: KYLIN-3600 Add private constructor for utility classes.
URL: https://github.com/apache/kylin/pull/266
 
 
   Add private constructor for utility classes.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Utility classes should not have public constructors
> ---------------------------------------------------
>
>                 Key: KYLIN-3600
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3600
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Lijun Cao
>            Assignee: Lijun Cao
>            Priority: Major
>             Fix For: v2.6.0
>
>
> 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*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)