You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2012/06/02 20:24:28 UTC

svn commit: r1345542 - /lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/packed/Packed64SingleBlock.java

Author: mikemccand
Date: Sat Jun  2 18:24:28 2012
New Revision: 1345542

URL: http://svn.apache.org/viewvc?rev=1345542&view=rev
Log:
removed unused var

Modified:
    lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/packed/Packed64SingleBlock.java

Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/packed/Packed64SingleBlock.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/packed/Packed64SingleBlock.java?rev=1345542&r1=1345541&r2=1345542&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/packed/Packed64SingleBlock.java (original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/util/packed/Packed64SingleBlock.java Sat Jun  2 18:24:28 2012
@@ -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.RamUsageEs
  * 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 exten
   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;