Skip to content

Commit 82532d4

Browse files
committed
Fix the built I broke
1 parent 9584891 commit 82532d4

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

vertx-db2-client/src/main/java/io/vertx/db2client/impl/DB2ConnectionImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public static Future<DB2Connection> connect(Vertx vertx, DB2ConnectOptions optio
3333
ContextInternal ctx = (ContextInternal) vertx.getOrCreateContext();
3434
DB2ConnectionFactory client;
3535
try {
36-
client = new DB2ConnectionFactory(vertx, ctx, options);
36+
client = new DB2ConnectionFactory(ctx, options);
3737
} catch (Exception e) {
3838
return ctx.failedFuture(e);
3939
}

vertx-mssql-client/src/main/java/io/vertx/mssqlclient/impl/MSSQLConnectionImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public int appendQueryPlaceholder(StringBuilder queryBuilder, int index, int cur
3737
public static Future<MSSQLConnection> connect(Vertx vertx, MSSQLConnectOptions options) {
3838
ContextInternal ctx = (ContextInternal) vertx.getOrCreateContext();
3939
PromiseInternal<MSSQLConnection> promise = ctx.promise();
40-
MSSQLConnectionFactory client = new MSSQLConnectionFactory(vertx, ctx, options);
40+
MSSQLConnectionFactory client = new MSSQLConnectionFactory(ctx, options);
4141
ctx.dispatch(null, v -> {
4242
client.connect()
4343
.<MSSQLConnection>map(conn -> {

vertx-mysql-client/src/main/java/io/vertx/mysqlclient/impl/MySQLConnectionImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static Future<MySQLConnection> connect(Vertx vertx, MySQLConnectOptions o
3838
ContextInternal ctx = (ContextInternal) vertx.getOrCreateContext();
3939
MySQLConnectionFactory client;
4040
try {
41-
client = new MySQLConnectionFactory(vertx, ctx, options);
41+
client = new MySQLConnectionFactory(ctx, options);
4242
} catch (Exception e) {
4343
return ctx.failedFuture(e);
4444
}

vertx-sql-client-templates/src/test/java/io/vertx/sqlclient/templates/TemplateBuilderTest.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
package io.vertx.sqlclient.templates;
22

3+
import io.vertx.core.AsyncResult;
4+
import io.vertx.core.Future;
5+
import io.vertx.core.Handler;
36
import io.vertx.sqlclient.PreparedQuery;
47
import io.vertx.sqlclient.Query;
58
import io.vertx.sqlclient.Row;
@@ -27,7 +30,11 @@ public PreparedQuery<RowSet<Row>> preparedQuery(String sql) {
2730
throw new UnsupportedOperationException();
2831
}
2932
@Override
30-
public void close() {
33+
public void close(Handler<AsyncResult<Void>> handler) {
34+
throw new UnsupportedOperationException();
35+
}
36+
@Override
37+
public Future<Void> close() {
3138
throw new UnsupportedOperationException();
3239
}
3340
}

0 commit comments

Comments
 (0)