You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by jp...@apache.org on 2018/05/28 15:11:27 UTC

[2/2] lucene-solr:branch_7x: Fix incorrect BitUtil.deinterleave() description

Fix incorrect BitUtil.deinterleave() description

Signed-off-by: Adrien Grand <jp...@gmail.com>

Closes #367


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/9533b93e
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/9533b93e
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/9533b93e

Branch: refs/heads/branch_7x
Commit: 9533b93e84277ceee9471bc42564443c4a86e816
Parents: 3b6ab0b
Author: Yuri Astrakhan <yu...@gmail.com>
Authored: Mon Apr 30 02:08:13 2018 +0300
Committer: Adrien Grand <jp...@gmail.com>
Committed: Mon May 28 17:11:13 2018 +0200

----------------------------------------------------------------------
 lucene/core/src/java/org/apache/lucene/util/BitUtil.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9533b93e/lucene/core/src/java/org/apache/lucene/util/BitUtil.java
----------------------------------------------------------------------
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 404ce7f..bcc66a1 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];