diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2023-09-16 22:09:11 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2023-09-22 23:31:27 +0200 |
commit | 4cf246c9ab66cd815e76fe20c32502e5e5bb66f1 (patch) | |
tree | bfeb4184ceaed2b91adb276b0bbac73e0d0cd511 /org.eclipse.jgit/src/org/eclipse/jgit/util/sha1 | |
parent | d65170603f50db4bdafa9e926e56f0b2abab6f6e (diff) | |
download | jgit-4cf246c9ab66cd815e76fe20c32502e5e5bb66f1.tar.gz jgit-4cf246c9ab66cd815e76fe20c32502e5e5bb66f1.zip |
[errorprone] Remove unnecessary parentheses
see https://errorprone.info/bugpattern/UnnecessaryParentheses
Change-Id: Id08cf0e05b3d35f139fc34e0aa83882555a8a81a
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/util/sha1')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/util/sha1/SHA1Java.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/sha1/SHA1Java.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/sha1/SHA1Java.java index 213ee97531..33e6875883 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/sha1/SHA1Java.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/sha1/SHA1Java.java @@ -407,7 +407,7 @@ class SHA1Java extends SHA1 { private static int s1(int a, int b, int c, int d, int w_t) { return rotateLeft(a, 5) // f: 0 <= t <= 19 - + ((b & c) | ((~b) & d)) + + ((b & c) | (~b & d)) + 0x5A827999 + w_t; } |