gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djkevi...@apache.org
Subject [19/32] gora git commit: Refactor code
Date Thu, 27 Jul 2017 18:45:45 GMT
Refactor code


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

Branch: refs/heads/master
Commit: ecd3c598b98212cbd47cd415819b62614496839e
Parents: 65201d1
Author: nishadi <ndimeshi@gmail.com>
Authored: Thu Jun 29 09:44:37 2017 +0530
Committer: nishadi <ndimeshi@gmail.com>
Committed: Thu Jun 29 09:44:37 2017 +0530

----------------------------------------------------------------------
 .../org/apache/gora/aerospike/store/AerospikeParameters.java     | 4 ++--
 .../java/org/apache/gora/aerospike/GoraAerospikeTestDriver.java  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/gora/blob/ecd3c598/gora-aerospike/src/main/java/org/apache/gora/aerospike/store/AerospikeParameters.java
----------------------------------------------------------------------
diff --git a/gora-aerospike/src/main/java/org/apache/gora/aerospike/store/AerospikeParameters.java
b/gora-aerospike/src/main/java/org/apache/gora/aerospike/store/AerospikeParameters.java
index 5cb91e2..61ea17a 100644
--- a/gora-aerospike/src/main/java/org/apache/gora/aerospike/store/AerospikeParameters.java
+++ b/gora-aerospike/src/main/java/org/apache/gora/aerospike/store/AerospikeParameters.java
@@ -39,9 +39,9 @@ public class AerospikeParameters {
   private boolean isSingleBinEnabled;
 
   // Property names
-  private static final String AS_SERVER_IP = "server.ip";
+  private static final String AS_SERVER_IP = "gora.aerospikestore.server.ip";
 
-  private static final String AS_SERVER_PORT = "server.port";
+  private static final String AS_SERVER_PORT = "gora.aerospikestore.server.port";
 
   // Default property values
   private static final String DEFAULT_SERVER_IP = "localhost";

http://git-wip-us.apache.org/repos/asf/gora/blob/ecd3c598/gora-aerospike/src/test/java/org/apache/gora/aerospike/GoraAerospikeTestDriver.java
----------------------------------------------------------------------
diff --git a/gora-aerospike/src/test/java/org/apache/gora/aerospike/GoraAerospikeTestDriver.java
b/gora-aerospike/src/test/java/org/apache/gora/aerospike/GoraAerospikeTestDriver.java
index 6c025e4..5a086d8 100644
--- a/gora-aerospike/src/test/java/org/apache/gora/aerospike/GoraAerospikeTestDriver.java
+++ b/gora-aerospike/src/test/java/org/apache/gora/aerospike/GoraAerospikeTestDriver.java
@@ -62,7 +62,7 @@ public class GoraAerospikeTestDriver extends GoraTestDriver {
    * @param keyClass The key class.
    * @param persistentClass The value class.
    * @return A new store instance.
-   * @throws GoraException
+   * @throws GoraException If an error occur in creating the data store
    */
   @Override
   public <K, T extends Persistent> DataStore<K, T> createDataStore(Class<K>
keyClass, Class<T> persistentClass)


Mime
View raw message