cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alek...@apache.org
Subject [1/2] git commit: Remove left-over o.a.c.a.MigrationListener
Date Thu, 02 May 2013 19:15:14 GMT
Updated Branches:
  refs/heads/trunk bb32936b6 -> 3301a6bf4


Remove left-over o.a.c.a.MigrationListener


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

Branch: refs/heads/trunk
Commit: 1405912a00cf82135fbee0fe4804d50fb6c54cac
Parents: 2ef11b4
Author: Aleksey Yeschenko <aleksey@apache.org>
Authored: Thu May 2 22:14:40 2013 +0300
Committer: Aleksey Yeschenko <aleksey@apache.org>
Committed: Thu May 2 22:14:40 2013 +0300

----------------------------------------------------------------------
 .../apache/cassandra/auth/MigrationListener.java   |   53 ---------------
 1 files changed, 0 insertions(+), 53 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/1405912a/src/java/org/apache/cassandra/auth/MigrationListener.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/auth/MigrationListener.java b/src/java/org/apache/cassandra/auth/MigrationListener.java
deleted file mode 100644
index cb02a66..0000000
--- a/src/java/org/apache/cassandra/auth/MigrationListener.java
+++ /dev/null
@@ -1,53 +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.auth;
-
-import org.apache.cassandra.config.DatabaseDescriptor;
-import org.apache.cassandra.service.IMigrationListener;
-
-/**
- * IMigrationListener implementation that cleans up permissions on dropped resources.
- */
-public class MigrationListener implements IMigrationListener
-{
-    public void onDropKeyspace(String ksName)
-    {
-        DatabaseDescriptor.getAuthorizer().revokeAll(DataResource.keyspace(ksName));
-    }
-
-    public void onDropColumnFamily(String ksName, String cfName)
-    {
-        DatabaseDescriptor.getAuthorizer().revokeAll(DataResource.columnFamily(ksName, cfName));
-    }
-
-    public void onCreateKeyspace(String ksName)
-    {
-    }
-
-    public void onCreateColumnFamily(String ksName, String cfName)
-    {
-    }
-
-    public void onUpdateKeyspace(String ksName)
-    {
-    }
-
-    public void onUpdateColumnFamily(String ksName, String cfName)
-    {
-    }
-}


Mime
View raw message