gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject svn commit: r1307502 - in /gora/trunk: CHANGES.txt gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java
Date Fri, 30 Mar 2012 16:11:07 GMT
Author: lewismc
Date: Fri Mar 30 16:11:07 2012
New Revision: 1307502

URL: http://svn.apache.org/viewvc?rev=1307502&view=rev
Log:
trivial commit for GORA-108 and update to CHANGES.txt

Modified:
    gora/trunk/CHANGES.txt
    gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
    gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java

Modified: gora/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/gora/trunk/CHANGES.txt?rev=1307502&r1=1307501&r2=1307502&view=diff
==============================================================================
--- gora/trunk/CHANGES.txt (original)
+++ gora/trunk/CHANGES.txt Fri Mar 30 16:11:07 2012
@@ -5,9 +5,12 @@
 Gora Change Log
 
 Trunk (unreleased changes):
+
+* GORA-108 Change CassandraClient#init() to CassandraClient#initialize() for consistency
with other Datastores. (lewismc)
+
 * GORA-105 DataStoreFactory does not properly support multiple stores (ferdy)
 
-* GORA-** Update Gora parent pom to include maven release plugin targets, and update developer
credentials.
+* GORA-** Update Gora parent pom to include maven release plugin targets, and update developer
credentials. (lewismc)
 
 * GORA-74 Remove sqlbuilder library (lewismc)
 

Modified: gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
URL: http://svn.apache.org/viewvc/gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java?rev=1307502&r1=1307501&r2=1307502&view=diff
==============================================================================
--- gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
(original)
+++ gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
Fri Mar 30 16:11:07 2012
@@ -62,7 +62,7 @@ public class CassandraClient<K, T extend
 
   private StringSerializer stringSerializer = new StringSerializer();
   
-  public void init() throws Exception {
+  public void initialize() throws Exception {
     this.cassandraMapping.loadConfiguration();
     this.cluster = HFactory.getOrCreateCluster(this.cassandraMapping.getClusterName(), new
CassandraHostConfigurator(this.cassandraMapping.getHostName()));
     

Modified: gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java
URL: http://svn.apache.org/viewvc/gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java?rev=1307502&r1=1307501&r2=1307502&view=diff
==============================================================================
--- gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java
(original)
+++ gora/trunk/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraStore.java
Fri Mar 30 16:11:07 2012
@@ -69,7 +69,7 @@ public class CassandraStore<K, T extends
   private Map<K, T> buffer = new LinkedHashMap<K, T>();
   
   public CassandraStore() throws Exception {
-    this.cassandraClient.init();
+    this.cassandraClient.initialize();
   }
 
   @Override



Mime
View raw message