You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ad...@apache.org on 2017/07/06 12:13:08 UTC
[02/15] james-project git commit: JAMES-2090 Remove unused
Cassandra-spring class
JAMES-2090 Remove unused Cassandra-spring class
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/797dca14
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/797dca14
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/797dca14
Branch: refs/heads/master
Commit: 797dca14fb8df57a89ce067cc5ead1d7491fd5b8
Parents: 96facc5
Author: benwa <bt...@linagora.com>
Authored: Tue Jul 4 17:09:10 2017 +0700
Committer: benwa <bt...@linagora.com>
Committed: Wed Jul 5 11:36:28 2017 +0700
----------------------------------------------------------------------
.../init/SpringStaticSessionFactory.java | 36 --------------------
1 file changed, 36 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/james-project/blob/797dca14/backends-common/cassandra/src/main/java/org/apache/james/backends/cassandra/init/SpringStaticSessionFactory.java
----------------------------------------------------------------------
diff --git a/backends-common/cassandra/src/main/java/org/apache/james/backends/cassandra/init/SpringStaticSessionFactory.java b/backends-common/cassandra/src/main/java/org/apache/james/backends/cassandra/init/SpringStaticSessionFactory.java
deleted file mode 100644
index eb5d844..0000000
--- a/backends-common/cassandra/src/main/java/org/apache/james/backends/cassandra/init/SpringStaticSessionFactory.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one *
- * or more contributor license agreements. See the NOTICE file *
- * distributed with this work for additional information *
- * regarding copyright ownership. The ASF licenses this file *
- * to you under the Apache License, Version 2.0 (the *
- * "License"); you may not use this file except in compliance *
- * with the License. You may obtain a copy of the License at *
- * *
- * http://www.apache.org/licenses/LICENSE-2.0 *
- * *
- * Unless required by applicable law or agreed to in writing, *
- * software distributed under the License is distributed on an *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
- * KIND, either express or implied. See the License for the *
- * specific language governing permissions and limitations *
- * under the License. *
- ****************************************************************/
-
-package org.apache.james.backends.cassandra.init;
-
-import com.datastax.driver.core.Cluster;
-import com.datastax.driver.core.Session;
-import org.apache.james.backends.cassandra.components.CassandraModule;
-
-public class SpringStaticSessionFactory {
-
- public static Session createSession(Cluster cluster, String keyspace, CassandraModule module) {
- return new SessionWithInitializedTablesFactory(module).createSession(cluster, keyspace);
- }
-
- public static Session createSession(Cluster cluster, CassandraModule module) {
- return new SessionWithInitializedTablesFactory(module).createSession(cluster);
- }
-
-}
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org