[
https://issues.apache.org/jira/browse/ZOOKEEPER-4300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ling Mao resolved ZOOKEEPER-4300.
---------------------------------
Resolution: Fixed
> 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)