kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dong Li (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (KYLIN-3143) Wrong use of Preconditions.checkNotNull() in ManagedUser#removeAuthoritie
Date Mon, 01 Jan 2018 13:00:02 GMT

     [ https://issues.apache.org/jira/browse/KYLIN-3143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dong Li reassigned KYLIN-3143:
------------------------------

    Assignee: Chao Long

> Wrong use of Preconditions.checkNotNull() in ManagedUser#removeAuthoritie
> -------------------------------------------------------------------------
>
>                 Key: KYLIN-3143
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3143
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Chao Long
>            Priority: Minor
>
> {code}
>     public void removeAuthoritie(String auth) {
>         Preconditions.checkNotNull(this.authorities == null);
> {code}
> I think the intention was to check this.authorities, not {{this.authorities == null}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message