mirror of https://github.com/apache/lucene.git
removed unused var
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1345542 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cdfa5f32b0
commit
459a3481f2
|
@ -1,11 +1,5 @@
|
|||
package org.apache.lucene.util.packed;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Arrays;
|
||||
|
||||
import org.apache.lucene.store.DataInput;
|
||||
import org.apache.lucene.util.RamUsageEstimator;
|
||||
|
||||
/**
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with this
|
||||
|
@ -23,6 +17,12 @@ import org.apache.lucene.util.RamUsageEstimator;
|
|||
* the License.
|
||||
*/
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Arrays;
|
||||
|
||||
import org.apache.lucene.store.DataInput;
|
||||
import org.apache.lucene.util.RamUsageEstimator;
|
||||
|
||||
/**
|
||||
* This class is similar to {@link Packed64} except that it trades space for
|
||||
* speed by ensuring that a single block needs to be read/written in order to
|
||||
|
@ -142,7 +142,6 @@ abstract class Packed64SingleBlock extends PackedInts.MutableImpl {
|
|||
public int get(int index, long[] arr, int off, int len) {
|
||||
assert len > 0;
|
||||
assert index >= 0 && index < valueCount;
|
||||
final int origLen = len;
|
||||
len = Math.min(len, valueCount - index);
|
||||
assert off + len <= arr.length;
|
||||
|
||||
|
|
Loading…
Reference in New Issue