diff --git a/column-parent/cassandra-parent/runtime/src/main/java/org/eclipse/jnosql/databases/cassandra/communication/QuarkusCassandraColumnManagerFactory.java b/column-parent/cassandra-parent/runtime/src/main/java/org/eclipse/jnosql/databases/cassandra/communication/QuarkusCassandraColumnManagerFactory.java index 0d5ae2d..790a814 100644 --- a/column-parent/cassandra-parent/runtime/src/main/java/org/eclipse/jnosql/databases/cassandra/communication/QuarkusCassandraColumnManagerFactory.java +++ b/column-parent/cassandra-parent/runtime/src/main/java/org/eclipse/jnosql/databases/cassandra/communication/QuarkusCassandraColumnManagerFactory.java @@ -1,7 +1,5 @@ package org.eclipse.jnosql.databases.cassandra.communication; -import java.util.concurrent.Executor; - import org.eclipse.jnosql.communication.column.ColumnManagerFactory; import com.datastax.oss.driver.api.core.CqlSession; @@ -9,13 +7,10 @@ public class QuarkusCassandraColumnManagerFactory implements ColumnManagerFactory { private final CqlSession cqlSession; - private final Executor executor; public QuarkusCassandraColumnManagerFactory( - CqlSession cqlSession, - Executor executor) { + CqlSession cqlSession) { this.cqlSession = cqlSession; - this.executor = executor; } @Override @@ -27,7 +22,6 @@ public void close() { public CassandraColumnManager apply(String keyspace) { return new DefaultCassandraColumnManager( cqlSession, - executor, keyspace); } } diff --git a/column-parent/cassandra-parent/runtime/src/main/java/org/eclipse/jnosql/databases/cassandra/communication/QuarkusCassandraConfiguration.java b/column-parent/cassandra-parent/runtime/src/main/java/org/eclipse/jnosql/databases/cassandra/communication/QuarkusCassandraConfiguration.java index bbd6b35..5777541 100644 --- a/column-parent/cassandra-parent/runtime/src/main/java/org/eclipse/jnosql/databases/cassandra/communication/QuarkusCassandraConfiguration.java +++ b/column-parent/cassandra-parent/runtime/src/main/java/org/eclipse/jnosql/databases/cassandra/communication/QuarkusCassandraConfiguration.java @@ -6,7 +6,6 @@ import org.eclipse.jnosql.communication.Settings; import org.eclipse.jnosql.communication.column.ColumnConfiguration; import org.eclipse.jnosql.communication.column.ColumnManagerFactory; -import org.eclipse.microprofile.context.ManagedExecutor; import com.datastax.oss.quarkus.runtime.api.session.QuarkusCqlSession; @@ -16,14 +15,10 @@ public class QuarkusCassandraConfiguration implements ColumnConfiguration { @Inject protected QuarkusCqlSession quarkusCqlSession; - @Inject - protected ManagedExecutor managedExecutor; - @Override public ColumnManagerFactory apply(Settings settings) throws NullPointerException { return new QuarkusCassandraColumnManagerFactory( - quarkusCqlSession, - managedExecutor); + quarkusCqlSession); } } diff --git a/pom.xml b/pom.xml index 29f8b0b..4d31795 100644 --- a/pom.xml +++ b/pom.xml @@ -34,7 +34,7 @@ 1.2.0 4.0.0 3.0.0-M1 - 1.0.0 + 1.0.1