You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "LiAoNan (Jira)" <ji...@apache.org> on 2021/05/20 05:51:00 UTC
[jira] [Created] (ZOOKEEPER-4300) Simplify assignment statements of
boolean
LiAoNan created ZOOKEEPER-4300:
----------------------------------
Summary: Simplify assignment statements of boolean
Key: ZOOKEEPER-4300
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4300
Project: ZooKeeper
Issue Type: Improvement
Reporter: LiAoNan
{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)