diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2019-06-12 14:21:39 +0900 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2019-06-15 21:55:39 +0200 |
commit | 0f9063941cb5addf2edcb174750c07704fe5690a (patch) | |
tree | e3c61f008d450ef8a3f1018a61755cff17f62d65 /tools | |
parent | 2eeabde94a4a39dd827d4ecc8110a6137d401cba (diff) | |
download | jgit-0f9063941cb5addf2edcb174750c07704fe5690a.tar.gz jgit-0f9063941cb5addf2edcb174750c07704fe5690a.zip |
ObjectWalk: Prefer boolean operators over logical operators in comparisons
Using the | and & operators in boolean conditions results in a warning
from Error Prone:
[ShortCircuitBoolean]
Prefer the short-circuiting boolean operators && and || to & and |.
see https://errorprone.info/bugpattern/ShortCircuitBoolean
Change-Id: I182f986263b8b9ac189907f4bd1662b4092a52d8
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions