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: ninja-fix IMigrationListener 'Famly' typos
Date Mon, 11 Feb 2013 23:42:55 GMT
ninja-fix IMigrationListener 'Famly' typos


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

Branch: refs/heads/trunk
Commit: ce8b379c2ad1c7cb1b8c67620b9ead1a17d28adc
Parents: 6d3ef44
Author: Aleksey Yeschenko <aleksey@apache.org>
Authored: Tue Feb 12 02:41:48 2013 +0300
Committer: Aleksey Yeschenko <aleksey@apache.org>
Committed: Tue Feb 12 02:41:48 2013 +0300

----------------------------------------------------------------------
 .../apache/cassandra/auth/MigrationListener.java   |    6 +++---
 .../cassandra/service/IMigrationListener.java      |    6 +++---
 .../apache/cassandra/service/MigrationManager.java |    6 +++---
 .../org/apache/cassandra/transport/Server.java     |    6 +++---
 4 files changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/ce8b379c/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
index 66ac4b0..cb02a66 100644
--- a/src/java/org/apache/cassandra/auth/MigrationListener.java
+++ b/src/java/org/apache/cassandra/auth/MigrationListener.java
@@ -30,7 +30,7 @@ public class MigrationListener implements IMigrationListener
         DatabaseDescriptor.getAuthorizer().revokeAll(DataResource.keyspace(ksName));
     }
 
-    public void onDropColumnFamly(String ksName, String cfName)
+    public void onDropColumnFamily(String ksName, String cfName)
     {
         DatabaseDescriptor.getAuthorizer().revokeAll(DataResource.columnFamily(ksName, cfName));
     }
@@ -39,7 +39,7 @@ public class MigrationListener implements IMigrationListener
     {
     }
 
-    public void onCreateColumnFamly(String ksName, String cfName)
+    public void onCreateColumnFamily(String ksName, String cfName)
     {
     }
 
@@ -47,7 +47,7 @@ public class MigrationListener implements IMigrationListener
     {
     }
 
-    public void onUpdateColumnFamly(String ksName, String cfName)
+    public void onUpdateColumnFamily(String ksName, String cfName)
     {
     }
 }

http://git-wip-us.apache.org/repos/asf/cassandra/blob/ce8b379c/src/java/org/apache/cassandra/service/IMigrationListener.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/service/IMigrationListener.java b/src/java/org/apache/cassandra/service/IMigrationListener.java
index 1a6854b..e16ac62 100644
--- a/src/java/org/apache/cassandra/service/IMigrationListener.java
+++ b/src/java/org/apache/cassandra/service/IMigrationListener.java
@@ -20,11 +20,11 @@ package org.apache.cassandra.service;
 public interface IMigrationListener
 {
     public void onCreateKeyspace(String ksName);
-    public void onCreateColumnFamly(String ksName, String cfName);
+    public void onCreateColumnFamily(String ksName, String cfName);
 
     public void onUpdateKeyspace(String ksName);
-    public void onUpdateColumnFamly(String ksName, String cfName);
+    public void onUpdateColumnFamily(String ksName, String cfName);
 
     public void onDropKeyspace(String ksName);
-    public void onDropColumnFamly(String ksName, String cfName);
+    public void onDropColumnFamily(String ksName, String cfName);
 }

http://git-wip-us.apache.org/repos/asf/cassandra/blob/ce8b379c/src/java/org/apache/cassandra/service/MigrationManager.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/service/MigrationManager.java b/src/java/org/apache/cassandra/service/MigrationManager.java
index 028ec8b..d5d4c97 100644
--- a/src/java/org/apache/cassandra/service/MigrationManager.java
+++ b/src/java/org/apache/cassandra/service/MigrationManager.java
@@ -169,7 +169,7 @@ public class MigrationManager implements IEndpointStateChangeSubscriber
     public void notifyCreateColumnFamily(CFMetaData cfm)
     {
         for (IMigrationListener listener : listeners)
-            listener.onCreateColumnFamly(cfm.ksName, cfm.cfName);
+            listener.onCreateColumnFamily(cfm.ksName, cfm.cfName);
     }
 
     public void notifyUpdateKeyspace(KSMetaData ksm)
@@ -181,7 +181,7 @@ public class MigrationManager implements IEndpointStateChangeSubscriber
     public void notifyUpdateColumnFamily(CFMetaData cfm)
     {
         for (IMigrationListener listener : listeners)
-            listener.onUpdateColumnFamly(cfm.ksName, cfm.cfName);
+            listener.onUpdateColumnFamily(cfm.ksName, cfm.cfName);
     }
 
     public void notifyDropKeyspace(KSMetaData ksm)
@@ -193,7 +193,7 @@ public class MigrationManager implements IEndpointStateChangeSubscriber
     public void notifyDropColumnFamily(CFMetaData cfm)
     {
         for (IMigrationListener listener : listeners)
-            listener.onDropColumnFamly(cfm.ksName, cfm.cfName);
+            listener.onDropColumnFamily(cfm.ksName, cfm.cfName);
     }
 
     public static void announceNewKeyspace(KSMetaData ksm) throws ConfigurationException

http://git-wip-us.apache.org/repos/asf/cassandra/blob/ce8b379c/src/java/org/apache/cassandra/transport/Server.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/transport/Server.java b/src/java/org/apache/cassandra/transport/Server.java
index 8bdae55..68160c6 100644
--- a/src/java/org/apache/cassandra/transport/Server.java
+++ b/src/java/org/apache/cassandra/transport/Server.java
@@ -327,7 +327,7 @@ public class Server implements CassandraDaemon.Server
             server.connectionTracker.send(new Event.SchemaChange(Event.SchemaChange.Change.CREATED,
ksName));
         }
 
-        public void onCreateColumnFamly(String ksName, String cfName)
+        public void onCreateColumnFamily(String ksName, String cfName)
         {
             server.connectionTracker.send(new Event.SchemaChange(Event.SchemaChange.Change.CREATED,
ksName, cfName));
         }
@@ -337,7 +337,7 @@ public class Server implements CassandraDaemon.Server
             server.connectionTracker.send(new Event.SchemaChange(Event.SchemaChange.Change.UPDATED,
ksName));
         }
 
-        public void onUpdateColumnFamly(String ksName, String cfName)
+        public void onUpdateColumnFamily(String ksName, String cfName)
         {
             server.connectionTracker.send(new Event.SchemaChange(Event.SchemaChange.Change.UPDATED,
ksName, cfName));
         }
@@ -347,7 +347,7 @@ public class Server implements CassandraDaemon.Server
             server.connectionTracker.send(new Event.SchemaChange(Event.SchemaChange.Change.DROPPED,
ksName));
         }
 
-        public void onDropColumnFamly(String ksName, String cfName)
+        public void onDropColumnFamily(String ksName, String cfName)
         {
             server.connectionTracker.send(new Event.SchemaChange(Event.SchemaChange.Change.DROPPED,
ksName, cfName));
         }


Mime
View raw message