File tree 2 files changed +5
-6
lines changed
src/main/java/info/unterrainer/commons/httpserver/daos
2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 17
17
18
18
<modelVersion >4.0.0</modelVersion >
19
19
<artifactId >http-server</artifactId >
20
- <version >0.2.13 </version >
20
+ <version >0.2.14 </version >
21
21
<name >HttpServer</name >
22
22
<packaging >jar</packaging >
23
23
Original file line number Diff line number Diff line change 6
6
7
7
import javax .persistence .EntityManager ;
8
8
9
- import org .eclipse .jetty .webapp .WebAppContext .Context ;
10
-
11
9
import info .unterrainer .commons .httpserver .enums .Attribute ;
12
10
import info .unterrainer .commons .rdbutils .entities .BasicJpa ;
11
+ import io .javalin .http .Context ;
13
12
import lombok .AccessLevel ;
14
13
import lombok .Getter ;
15
14
import lombok .RequiredArgsConstructor ;
@@ -43,7 +42,7 @@ public R entityManager(final EntityManager em) {
43
42
* <p>
44
43
* Overwrites the existing set.
45
44
*
46
- * @param id the tenant-ID to use
45
+ * @param ids the tenant-ID to use
47
46
* @return an instance of this builder to provide a fluent interface
48
47
*/
49
48
@ SuppressWarnings ("unchecked" )
@@ -63,8 +62,8 @@ public R tenant(final Long... ids) {
63
62
*/
64
63
@ SuppressWarnings ("unchecked" )
65
64
public R tenant (final Context ctx ) {
66
- tenantIds = (Set <Long >) ctx .getAttribute (Attribute .USER_TENANTS_READ_SET );
67
- writeTenantIds = (Set <Long >) ctx .getAttribute (Attribute .USER_TENANTS_WRITE_SET );
65
+ tenantIds = (Set <Long >) ctx .attribute (Attribute .USER_TENANTS_READ_SET );
66
+ writeTenantIds = (Set <Long >) ctx .attribute (Attribute .USER_TENANTS_WRITE_SET );
68
67
return (R ) this ;
69
68
}
70
69
}
You can’t perform that action at this time.
0 commit comments