gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject [1/2] gora git commit: GORA-469 cassandra javadoc error is fixed
Date Sun, 28 Aug 2016 16:47:58 GMT
Repository: gora
Updated Branches:
  refs/heads/master b0735a714 -> b53627198


GORA-469 cassandra javadoc error is fixed


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

Branch: refs/heads/master
Commit: 29bab2e2cdec2f9e2a06bade4c56d970eba99fff
Parents: 97c488e
Author: cihad guzel <cguzelg@gmail.com>
Authored: Sun Aug 28 15:49:27 2016 +0300
Committer: cihad guzel <cguzelg@gmail.com>
Committed: Sun Aug 28 15:49:27 2016 +0300

----------------------------------------------------------------------
 .../org/apache/gora/cassandra/query/CassandraQuery.java  |  2 +-
 .../org/apache/gora/cassandra/store/CassandraClient.java | 11 ++++++++---
 2 files changed, 9 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/gora/blob/29bab2e2/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraQuery.java
----------------------------------------------------------------------
diff --git a/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraQuery.java
b/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraQuery.java
index 1e8d101..73e7c54 100644
--- a/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraQuery.java
+++ b/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraQuery.java
@@ -96,7 +96,7 @@ public class CassandraQuery<K, T extends PersistentBase> extends QueryBase<K,
T>
 
   /**
    *
-   * @return set a {@link org.apache.gora.cassandra.query.CassandraQuery}
+   * @param query set a {@link org.apache.gora.cassandra.query.CassandraQuery}
    */
   public void setQuery(Query<K, T> query) {
     this.query = query;

http://git-wip-us.apache.org/repos/asf/gora/blob/29bab2e2/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
----------------------------------------------------------------------
diff --git a/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
b/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
index 353a7c3..46f86a6 100644
--- a/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
+++ b/gora-cassandra/src/main/java/org/apache/gora/cassandra/store/CassandraClient.java
@@ -92,10 +92,13 @@ public class CassandraClient<K, T extends PersistentBase> {
   
   /** Cassandra serializer to be used for serializing Gora's keys. */
   private Serializer<K> keySerializer;
-  
+
   /**
-   * Method to maintain backward compatibility with earlier versions. 
-  */
+   * Method to maintain backward compatibility with earlier versions.
+   * @param keyClass
+   * @param persistentClass
+   * @throws Exception
+   */
   public void initialize(Class<K> keyClass, Class<T> persistentClass)
     throws Exception {
 	initialize(keyClass, persistentClass, null);
@@ -156,6 +159,8 @@ public class CassandraClient<K, T extends PersistentBase> {
 
   /**
    * Check if keyspace already exists.
+   *
+   * @return if keyspace already exists return true.
    */
   public boolean keyspaceExists() {
     KeyspaceDefinition keyspaceDefinition = this.cluster.describeKeyspace(this.cassandraMapping.getKeyspaceName());


Mime
View raw message