From 143bdd41885a43c7bc6e11f0c0d6e5820768aa2c Mon Sep 17 00:00:00 2001 From: Wanqiang Ji Date: Tue, 29 Sep 2020 22:06:25 +0800 Subject: [PATCH] MAPREDUCE-7289. Fix wrong comment in LongLong.java (#2338) --- .../main/java/org/apache/hadoop/examples/pi/math/LongLong.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/pi/math/LongLong.java b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/pi/math/LongLong.java index 3ad8f29d9a..8d7e7a0a97 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/pi/math/LongLong.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/pi/math/LongLong.java @@ -44,7 +44,7 @@ class LongLong { return d0 & mask; } - /** Shift right operation (<<). */ + /** Shift right operation (>>). */ long shiftRight(int n) { return (d1 << (BITS_PER_LONG - n)) + (d0 >>> n); }