james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adup...@apache.org
Subject [2/5] james-project git commit: JAMES-1945 Allow passing options to CassandraTables
Date Tue, 21 Feb 2017 15:43:07 GMT
JAMES-1945 Allow passing options to CassandraTables


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

Branch: refs/heads/master
Commit: cf05c79b64761f7f5dcdc235c6a844106d20ec98
Parents: 4870766
Author: Benoit Tellier <btellier@linagora.com>
Authored: Tue Feb 21 14:19:43 2017 +0700
Committer: Antoine Duprat <aduprat@linagora.com>
Committed: Tue Feb 21 14:56:02 2017 +0100

----------------------------------------------------------------------
 .../james/backends/cassandra/components/CassandraTable.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/cf05c79b/backends-common/cassandra/src/main/java/org/apache/james/backends/cassandra/components/CassandraTable.java
----------------------------------------------------------------------
diff --git a/backends-common/cassandra/src/main/java/org/apache/james/backends/cassandra/components/CassandraTable.java
b/backends-common/cassandra/src/main/java/org/apache/james/backends/cassandra/components/CassandraTable.java
index e827225..cb9100a 100644
--- a/backends-common/cassandra/src/main/java/org/apache/james/backends/cassandra/components/CassandraTable.java
+++ b/backends-common/cassandra/src/main/java/org/apache/james/backends/cassandra/components/CassandraTable.java
@@ -19,19 +19,19 @@
 
 package org.apache.james.backends.cassandra.components;
 
-import com.datastax.driver.core.schemabuilder.Create;
+import com.datastax.driver.core.Statement;
 
 public class CassandraTable {
 
-    private final Create createStatement;
+    private final Statement createStatement;
     private final String name;
 
-    public CassandraTable(String name, Create createStatement) {
+    public CassandraTable(String name, Statement createStatement) {
         this.createStatement = createStatement;
         this.name = name;
     }
 
-    public Create getCreateStatement() {
+    public Statement getCreateStatement() {
         return createStatement;
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message