cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject [1/2] git commit: remove dead code (unused assignments)
Date Sat, 16 Feb 2013 04:40:04 GMT
remove dead code (unused assignments)


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

Branch: refs/heads/trunk
Commit: aef01d1627a4ed303da76f751c7c8c98418e6d45
Parents: 86063aa
Author: Dave Brosius <dbrosius@apache.org>
Authored: Fri Feb 15 23:35:30 2013 -0500
Committer: Dave Brosius <dbrosius@apache.org>
Committed: Fri Feb 15 23:35:30 2013 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/tools/NodeProbe.java |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/aef01d16/src/java/org/apache/cassandra/tools/NodeProbe.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/NodeProbe.java b/src/java/org/apache/cassandra/tools/NodeProbe.java
index 45f6e18..ed93359 100644
--- a/src/java/org/apache/cassandra/tools/NodeProbe.java
+++ b/src/java/org/apache/cassandra/tools/NodeProbe.java
@@ -814,8 +814,6 @@ class ColumnFamilyStoreMBeanIterator implements Iterator<Map.Entry<String,
Colum
                     return tableCmp;
 
                 // get CF name and split it for index name
-                String q = e1.getValue().getColumnFamilyName();
-                String h = e2.getValue().getColumnFamilyName();
                 String e1CF[] = e1.getValue().getColumnFamilyName().split("\\.");
                 String e2CF[] = e1.getValue().getColumnFamilyName().split("\\.");
                 assert e1CF.length <= 2 && e2CF.length <= 2 : "unexpected split
count for column family name";


Mime
View raw message