aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.lfs/src/org/eclipse/jgit
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2019-06-08 16:25:32 +0900
committerDavid Pursehouse <david.pursehouse@gmail.com>2019-06-11 10:37:18 +0900
commit4e8a3df68f5271e56ff4ce76fb77ad2816d49068 (patch)
tree207b031213e012922d8c6efc2644cd5fd11d4e79 /org.eclipse.jgit.lfs/src/org/eclipse/jgit
parent9c97a586bfb4b8c189809db73e04471c729da383 (diff)
downloadjgit-4e8a3df68f5271e56ff4ce76fb77ad2816d49068.tar.gz
jgit-4e8a3df68f5271e56ff4ce76fb77ad2816d49068.zip
Abbreviated{Long}ObjectId: Make operator precedence explicit
Change-Id: Iafd616d3fdc81ac3072f776061548be195270d85 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.lfs/src/org/eclipse/jgit')
-rw-r--r--org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/lib/AbbreviatedLongObjectId.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/lib/AbbreviatedLongObjectId.java b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/lib/AbbreviatedLongObjectId.java
index bdd1b39c0d..5109d9bbba 100644
--- a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/lib/AbbreviatedLongObjectId.java
+++ b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/lib/AbbreviatedLongObjectId.java
@@ -170,7 +170,7 @@ public final class AbbreviatedLongObjectId implements Serializable {
r |= RawParseUtils.parseHexInt4(bs[p++]);
n++;
}
- return r << (16 - n) * 4;
+ return r << ((16 - n) * 4);
}
static long mask(int nibbles, long word, long v) {