cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slebre...@apache.org
Subject [2/3] git commit: Remove duplicate code
Date Tue, 28 Feb 2012 10:20:01 GMT
Remove duplicate code

patch by dbrosius; reviewed by slebresne for CASSANDRA-3969


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/d079c820
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/d079c820
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/d079c820

Branch: refs/heads/trunk
Commit: d079c8204e5e187b36b8d0cf66556c60cf33043e
Parents: 24939a5
Author: Sylvain Lebresne <sylvain@datastax.com>
Authored: Tue Feb 28 11:04:31 2012 +0100
Committer: Sylvain Lebresne <sylvain@datastax.com>
Committed: Tue Feb 28 11:04:31 2012 +0100

----------------------------------------------------------------------
 .../cassandra/service/RangeSliceVerbHandler.java   |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/d079c820/src/java/org/apache/cassandra/service/RangeSliceVerbHandler.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/service/RangeSliceVerbHandler.java b/src/java/org/apache/cassandra/service/RangeSliceVerbHandler.java
index 76823de..d18509d 100644
--- a/src/java/org/apache/cassandra/service/RangeSliceVerbHandler.java
+++ b/src/java/org/apache/cassandra/service/RangeSliceVerbHandler.java
@@ -60,7 +60,6 @@ public class RangeSliceVerbHandler implements IVerbHandler
                 throw new RuntimeException("Cannot service reads while bootstrapping!");
             }
             RangeSliceCommand command = RangeSliceCommand.read(message);
-            ColumnFamilyStore cfs = Table.open(command.keyspace).getColumnFamilyStore(command.column_family);
             RangeSliceReply reply = new RangeSliceReply(executeLocally(command));
             Message response = reply.getReply(message);
             if (logger.isDebugEnabled())


Mime
View raw message