From d039730638ea5b4e3bc9bd6535ac608d5f48a502 Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Mon, 30 Apr 2018 02:08:13 +0300 Subject: [PATCH] Fix incorrect BitUtil.deinterleave() description Signed-off-by: Adrien Grand Closes #367 --- lucene/core/src/java/org/apache/lucene/util/BitUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/core/src/java/org/apache/lucene/util/BitUtil.java b/lucene/core/src/java/org/apache/lucene/util/BitUtil.java index 404ce7f919b..bcc66a1802a 100644 --- a/lucene/core/src/java/org/apache/lucene/util/BitUtil.java +++ b/lucene/core/src/java/org/apache/lucene/util/BitUtil.java @@ -134,7 +134,7 @@ public final class BitUtil { } /** - * Deinterleaves long value back to two concatenated 32bit values + * Extract just the even-bits value as a long from the bit-interleaved value */ public static long deinterleave(long b) { b &= MAGIC[0];