cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject cassandra git commit: remove dead code
Date Fri, 29 May 2015 02:34:21 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk f55a4f451 -> 48c25ba2e


remove dead code


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

Branch: refs/heads/trunk
Commit: 48c25ba2e6595331191b8bdb7787bf8a593d8607
Parents: f55a4f4
Author: Dave Brosius <dbrosius@mebigfatguy.com>
Authored: Thu May 28 22:34:00 2015 -0400
Committer: Dave Brosius <dbrosius@mebigfatguy.com>
Committed: Thu May 28 22:34:00 2015 -0400

----------------------------------------------------------------------
 .../cassandra/cql3/statements/DropFunctionStatement.java     | 8 --------
 1 file changed, 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/48c25ba2/src/java/org/apache/cassandra/cql3/statements/DropFunctionStatement.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/cql3/statements/DropFunctionStatement.java b/src/java/org/apache/cassandra/cql3/statements/DropFunctionStatement.java
index edd8a65..3957d97 100644
--- a/src/java/org/apache/cassandra/cql3/statements/DropFunctionStatement.java
+++ b/src/java/org/apache/cassandra/cql3/statements/DropFunctionStatement.java
@@ -162,14 +162,6 @@ public final class DropFunctionStatement extends SchemaAlteringStatement
         return sb.toString();
     }
 
-    private String typeKeyspace(CQL3Type.Raw rawType)
-    {
-        String ks = rawType.keyspace();
-        if (ks != null)
-            return ks;
-        return functionName.keyspace;
-    }
-
     private Function findFunction()
     {
         Function old;


Mime
View raw message