Skip to content

Commit 9ed5c57

Browse files
Removed unnecessary parenthesis
1 parent 61c9158 commit 9ed5c57

File tree

1 file changed

+1
-1
lines changed
  • vertx-sql-client/src/main/java/io/vertx/sqlclient/impl

1 file changed

+1
-1
lines changed

vertx-sql-client/src/main/java/io/vertx/sqlclient/impl/PoolImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public Future<SqlConnection> getConnection() {
171171
public <R> Future<R> schedule(ContextInternal context, CommandBase<R> cmd) {
172172
PromiseInternal<SqlConnectionPool.PooledConnection> promise = context.promise();
173173
acquire(context, connectionTimeout, promise);
174-
return promise.future().compose((pooled -> pooled.schedule(context, cmd)));
174+
return promise.future().compose(pooled -> pooled.schedule(context, cmd));
175175
}
176176

177177
private void acquire(ContextInternal context, long timeout, Handler<AsyncResult<SqlConnectionPool.PooledConnection>> completionHandler) {

0 commit comments

Comments
 (0)