zookeeper-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ling Mao (Jira)" <j...@apache.org>
Subject [jira] [Updated] (ZOOKEEPER-4300) Simplify assignment statements of boolean
Date Fri, 28 May 2021 08:04:00 GMT

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

Ling Mao updated ZOOKEEPER-4300:
--------------------------------
    Priority: Minor  (was: Major)

> Simplify assignment statements of boolean
> -----------------------------------------
>
>                 Key: ZOOKEEPER-4300
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4300
>             Project: ZooKeeper
>          Issue Type: Improvement
>            Reporter: LiAoNan
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> {code:java}
> 'limitStats.getByteHardLimit() > -1 ? true : false' can be simplified to 'limitStats.getByteHardLimit()
> -1' 
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message