MAPREDUCE-7289. Fix wrong comment in LongLong.java (#2338)
(cherry picked from commit 143bdd41885a43c7bc6e11f0c0d6e5820768aa2c)
This commit is contained in:
parent
be421490da
commit
e8699d0bd5
@ -44,7 +44,7 @@ long and(long mask) {
|
|||||||
return d0 & mask;
|
return d0 & mask;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Shift right operation (<<). */
|
/** Shift right operation (>>). */
|
||||||
long shiftRight(int n) {
|
long shiftRight(int n) {
|
||||||
return (d1 << (BITS_PER_LONG - n)) + (d0 >>> n);
|
return (d1 << (BITS_PER_LONG - n)) + (d0 >>> n);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user