diff --git a/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java b/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java index 6c4425fbf2b..8b593528431 100644 --- a/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java +++ b/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java @@ -1142,7 +1142,7 @@ public class MemoryIndex { private static int sizeOf(int n) { return IS_WORD_ALIGNED_VM ? // ((n-1)/PTR + 1) * PTR : // slow version - (((n-1) >> LOG_PTR) + 1) << LOG_PTR : // fast version + (((n-1) >> LOG_PTR) + 1) << LOG_PTR : // fast version n; }