Skip to content

Commit 8155345

Browse files
committed
Typo
1 parent 9e7a564 commit 8155345

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

vertx-sql-client-template/src/main/asciidoc/index.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= Client SQL templates
22
:toc:
33

4-
SQL client templates is a small library design to facilitate the execution of SQL queries.
4+
SQL client templates is a small library designed to facilitate the execution of SQL queries.
55

66
== Usage
77

@@ -233,7 +233,7 @@ annotationProcessor "io.vertx:vertx-codegen:${maven.version}:processor"
233233
compile "io.vertx:vertx-sql-client-template:${maven.version}"
234234
----
235235

236-
IDE usually provide usually support for annotation processors.
236+
IDEs usually provide usually support for annotation processors.
237237

238238
The codegen `processor` classifier adds to the jar the automatic configuration of the service proxy annotation processor
239239
via the `META-INF/services` plugin mechanism.

vertx-sql-client-template/src/main/java/io/vertx/sqlclient/template/SqlTemplate.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import java.util.stream.Collector;
1919

2020
/**
21-
* A SQL template.
21+
* An SQL template.
2222
*
2323
* <p>SQL templates are useful for interacting with a relational database.
2424
*
@@ -33,7 +33,7 @@
3333
public interface SqlTemplate<I, R> {
3434

3535
/**
36-
* Create a SQL template for query purpose consuming map parameters and returning {@link Row}.
36+
* Create an SQL template for query purpose consuming map parameters and returning {@link Row}.
3737
*
3838
* @param client the wrapped SQL client
3939
* @param template the template query string
@@ -45,7 +45,7 @@ static SqlTemplate<Map<String, Object>, RowSet<Row>> forQuery(SqlClient client,
4545
}
4646

4747
/**
48-
* Create a SQL template for query purpose consuming map parameters and returning void.
48+
* Create an SQL template for query purpose consuming map parameters and returning void.
4949
*
5050
* @param client the wrapped SQL client
5151
* @param template the template update string

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@ public class SqlTemplateImpl<T, R> implements SqlTemplate<T, R> {
3030

3131
public SqlTemplateImpl(SqlClient client,
3232
io.vertx.sqlclient.template.impl.SqlTemplate sqlTemplate,
33-
Function<PreparedQuery<RowSet<Row>>, PreparedQuery<R>> foobar,
33+
Function<PreparedQuery<RowSet<Row>>,
34+
PreparedQuery<R>> queryMapper,
3435
Function<T, Map<String, Object>> paramsMapper) {
3536
this.client = client;
3637
this.sqlTemplate = sqlTemplate;
37-
this.queryMapper = foobar;
38+
this.queryMapper = queryMapper;
3839
this.paramsMapper = paramsMapper;
3940
}
4041

0 commit comments

Comments
 (0)