zookeeper-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enrico Olivelli (Jira)" <j...@apache.org>
Subject [jira] [Updated] (ZOOKEEPER-2272) Code clean up in ZooKeeperServer and KerberosName
Date Fri, 06 Sep 2019 15:44:02 GMT

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

Enrico Olivelli updated ZOOKEEPER-2272:
---------------------------------------
    Fix Version/s: 3.5.7

> Code clean up in ZooKeeperServer and KerberosName
> -------------------------------------------------
>
>                 Key: ZOOKEEPER-2272
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2272
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>    Affects Versions: 3.5.0
>            Reporter: Mohammad Arshad
>            Assignee: Mohammad Arshad
>            Priority: Trivial
>             Fix For: 3.6.0, 3.5.6, 3.5.7
>
>         Attachments: ZOOKEEPER-2272-01.patch
>
>
> # Following code in {{org.apache.zookeeper.server.ZooKeeperServer}} should be cleaned
up. Some how it got missed in code review
> {code}
> if ((System.getProperty("zookeeper.allowSaslFailedClients") != null)
>   &&  (System.getProperty("zookeeper.allowSaslFailedClients").equals("true")))
{
> {code}
> should be replaced with 
> {code}
> if(Boolean.getBoolean("zookeeper.allowSaslFailedClients"))
> {code}
> # Similar code clean up can be done in {{org.apache.zookeeper.server.auth.KerberosName}}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message