Skip to content

Commit 7c5db1a

Browse files
author
Gerald Unterrainer
committed
Merge branch 'develop'
2 parents 2349013 + 6d6ee4f commit 7c5db1a

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

src/main/java/info/unterrainer/commons/httpserver/GenericHandlerGroupBuilder.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,15 @@ public GenericHandlerGroupBuilder<P, J, E> getListInterceptor(final GetListInter
9797

9898
/**
9999
* Here you may register {@link AsyncExtensionContextMapper}s that allow you to
100-
* map attributes located in the {@link Context} to an offline, asynchronous one
100+
* map attributes located in the Javalin-context to an offline, asynchronous one
101101
* which you can address within asynchronous extension methods.
102102
*
103-
* @param asyncExtensionContextMapper
104-
* @return an instance of this object to asure a fluent interface
103+
* @param asyncExtensionContextMapper a mapper of type
104+
* {@link AsyncExtensionContextMapper} you
105+
* may register as an extension that moves
106+
* variables from the Javalin-context to the
107+
* async-context.
108+
* @return an instance of this object to assure a fluent interface
105109
*/
106110
public GenericHandlerGroupBuilder<P, J, E> asyncExtensionContextMapper(
107111
final AsyncExtensionContextMapper asyncExtensionContextMapper) {

src/main/java/info/unterrainer/commons/httpserver/daos/BasicQueryEntityManagerBuilder.java

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public R entityManager(final EntityManager em) {
4545
* <p>
4646
* Overwrites the existing set.
4747
*
48-
* @param ids the tenant-ID to use
48+
* @param ids the tenant-IDs to use
4949
* @return an instance of this builder to provide a fluent interface
5050
*/
5151
@SuppressWarnings("unchecked")
@@ -59,7 +59,7 @@ public R readTenant(final Long... ids) {
5959
* <p>
6060
* Overwrites the existing set.
6161
*
62-
* @param ids the tenant-ID to use
62+
* @param ids the tenant-IDs to use
6363
* @return an instance of this builder to provide a fluent interface
6464
*/
6565
@SuppressWarnings("unchecked")
@@ -73,7 +73,8 @@ public R readTenant(final Collection<Long> ids) {
7373
* <p>
7474
* Overwrites the existing set.
7575
*
76-
* @param ids the tenant-ID to use
76+
* @param commaSeparatedList the tenant-IDs to use in the form of a
77+
* comma-separated list
7778
* @return an instance of this builder to provide a fluent interface
7879
*/
7980
public R readTenant(final String commaSeparatedList) {
@@ -85,7 +86,7 @@ public R readTenant(final String commaSeparatedList) {
8586
* <p>
8687
* Overwrites the existing set.
8788
*
88-
* @param ids the tenant-ID to use
89+
* @param ids the tenant-IDs to use
8990
* @return an instance of this builder to provide a fluent interface
9091
*/
9192
@SuppressWarnings("unchecked")
@@ -99,7 +100,7 @@ public R writeTenant(final Long... ids) {
99100
* <p>
100101
* Overwrites the existing set.
101102
*
102-
* @param ids the tenant-ID to use
103+
* @param ids the tenant-IDs to use
103104
* @return an instance of this builder to provide a fluent interface
104105
*/
105106
@SuppressWarnings("unchecked")
@@ -113,7 +114,8 @@ public R writeTenant(final Collection<Long> ids) {
113114
* <p>
114115
* Overwrites the existing set.
115116
*
116-
* @param ids the tenant-ID to use
117+
* @param commaSeparatedList the tenant-IDs to use in the form of a
118+
* comma-separated list
117119
* @return an instance of this builder to provide a fluent interface
118120
*/
119121
public R writeTenant(final String commaSeparatedList) {
@@ -127,7 +129,7 @@ public R writeTenant(final String commaSeparatedList) {
127129
* Overwrites the existing sets of {@link #readTenant(Long...)} and
128130
* {@link #writeTenant(Long...)}.
129131
*
130-
* @param ctx the context that contains the tenant-ID to use
132+
* @param ctx the context that contains the tenant-IDs to use (read and write)
131133
* @return an instance of this builder to provide a fluent interface
132134
*/
133135
@SuppressWarnings("unchecked")

0 commit comments

Comments
 (0)