diff --git a/src/java/org/apache/cassandra/cql3/statements/CreateTableStatement.java b/src/java/org/apache/cassandra/cql3/statements/CreateTableStatement.java index 44b187d4cd..672bb50f52 100644 --- a/src/java/org/apache/cassandra/cql3/statements/CreateTableStatement.java +++ b/src/java/org/apache/cassandra/cql3/statements/CreateTableStatement.java @@ -37,7 +37,6 @@ import org.apache.cassandra.exceptions.AlreadyExistsException; import org.apache.cassandra.io.compress.CompressionParameters; import org.apache.cassandra.service.ClientState; import org.apache.cassandra.service.MigrationManager; -import org.apache.cassandra.thrift.CqlResult; import org.apache.cassandra.transport.Event; import org.apache.cassandra.utils.ByteBufferUtil; @@ -421,15 +420,5 @@ public class CreateTableStatement extends SchemaAlteringStatement { useCompactStorage = true; } - - public void checkAccess(ClientState state) - { - throw new UnsupportedOperationException(); - } - - public CqlResult execute(ClientState state, List variables) - { - throw new UnsupportedOperationException(); - } } } diff --git a/src/java/org/apache/cassandra/db/ColumnFamilyNotDefinedException.java b/src/java/org/apache/cassandra/db/ColumnFamilyNotDefinedException.java deleted file mode 100644 index 54a0e4ed22..0000000000 --- a/src/java/org/apache/cassandra/db/ColumnFamilyNotDefinedException.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.cassandra.db; - -import org.apache.cassandra.thrift.InvalidRequestException; - -public class ColumnFamilyNotDefinedException extends InvalidRequestException -{ - public ColumnFamilyNotDefinedException(String message) - { - super(message); - } -}