incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [1/2] git commit: Removed unused var and method.
Date Fri, 17 May 2013 21:17:07 GMT
Updated Branches:
  refs/heads/0.1.5 7282e7a26 -> 09125a395


Removed unused var and method.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/3e3d6458
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/3e3d6458
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/3e3d6458

Branch: refs/heads/0.1.5
Commit: 3e3d64582226e47345afce9b6bdc628e74528e4c
Parents: 7282e7a
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Fri May 17 15:20:15 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Fri May 17 15:20:15 2013 -0400

----------------------------------------------------------------------
 .../java/org/apache/blur/manager/IndexManager.java |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/3e3d6458/src/blur-core/src/main/java/org/apache/blur/manager/IndexManager.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/org/apache/blur/manager/IndexManager.java b/src/blur-core/src/main/java/org/apache/blur/manager/IndexManager.java
index 2d68f99..e31f736 100644
--- a/src/blur-core/src/main/java/org/apache/blur/manager/IndexManager.java
+++ b/src/blur-core/src/main/java/org/apache/blur/manager/IndexManager.java
@@ -229,17 +229,6 @@ public class IndexManager {
     }
   }
 
-  private long getRecordCount(FetchResult fetchResult) {
-    if (fetchResult.rowResult != null) {
-      if (fetchResult.rowResult.row != null && fetchResult.rowResult.row.records
!= null) {
-        return fetchResult.rowResult.row.records.size();
-      }
-    } else if (fetchResult.recordResult != null) {
-      return 1;
-    }
-    return 0;
-  }
-
   private void populateSelector(String table, Selector selector) throws IOException, BlurException
{
     String rowId = selector.rowId;
     String recordId = selector.recordId;
@@ -896,7 +885,6 @@ public class IndexManager {
         }
       }
 
-      long s = System.nanoTime();
       // Finally, replace the existing row with the new row we have built.
       blurIndex.replaceRow(mutation.waitToBeVisible, mutation.wal, newRow);
     } else {


Mime
View raw message