Abbreviated{Long}ObjectId: Make operator precedence explicit
Change-Id: Iafd616d3fdc81ac3072f776061548be195270d85 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
This commit is contained in:
parent
9c97a586bf
commit
4e8a3df68f
|
@ -170,7 +170,7 @@ private static final long hexUInt64(final byte[] bs, int p, final int end) {
|
||||||
r |= RawParseUtils.parseHexInt4(bs[p++]);
|
r |= RawParseUtils.parseHexInt4(bs[p++]);
|
||||||
n++;
|
n++;
|
||||||
}
|
}
|
||||||
return r << (16 - n) * 4;
|
return r << ((16 - n) * 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
static long mask(int nibbles, long word, long v) {
|
static long mask(int nibbles, long word, long v) {
|
||||||
|
|
|
@ -162,7 +162,7 @@ private static final int hexUInt32(final byte[] bs, int p, final int end) {
|
||||||
r |= RawParseUtils.parseHexInt4(bs[p++]);
|
r |= RawParseUtils.parseHexInt4(bs[p++]);
|
||||||
n++;
|
n++;
|
||||||
}
|
}
|
||||||
return r << (8 - n) * 4;
|
return r << ((8 - n) * 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int mask(int nibbles, int word, int v) {
|
static int mask(int nibbles, int word, int v) {
|
||||||
|
|
Loading…
Reference in New Issue