You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by diegosalvi <gi...@git.apache.org> on 2017/06/27 09:00:38 UTC

[GitHub] bookkeeper issue #216: Remove useless and misleading '&= true'

GitHub user diegosalvi opened an issue:

    https://github.com/apache/bookkeeper/issues/216

    Remove useless and misleading '&= true'

    **QUESTION**
    
    This is just a super minor issue, I stumbled upon it looking into #58...
    
    Assignments like 'shutDownTask =& true' aren't useful at all. I presume that compiler could strip them out but the code is less readable. (Just note that 'x & true == x').
    
    Removed useless assignments.

----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] bookkeeper issue #216: Remove useless and misleading '&= true'

Posted by sijie <gi...@git.apache.org>.
Github user sijie closed the issue at:

    https://github.com/apache/bookkeeper/issues/216


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---