File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
src/main/java/info/unterrainer/commons/httpserver/daos Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1717
1818 <modelVersion >4.0.0</modelVersion >
1919 <artifactId >http-server</artifactId >
20- <version >0.2.13 </version >
20+ <version >0.2.14 </version >
2121 <name >HttpServer</name >
2222 <packaging >jar</packaging >
2323
Original file line number Diff line number Diff line change 66
77import javax .persistence .EntityManager ;
88
9- import org .eclipse .jetty .webapp .WebAppContext .Context ;
10-
119import info .unterrainer .commons .httpserver .enums .Attribute ;
1210import info .unterrainer .commons .rdbutils .entities .BasicJpa ;
11+ import io .javalin .http .Context ;
1312import lombok .AccessLevel ;
1413import lombok .Getter ;
1514import lombok .RequiredArgsConstructor ;
@@ -43,7 +42,7 @@ public R entityManager(final EntityManager em) {
4342 * <p>
4443 * Overwrites the existing set.
4544 *
46- * @param id the tenant-ID to use
45+ * @param ids the tenant-ID to use
4746 * @return an instance of this builder to provide a fluent interface
4847 */
4948 @ SuppressWarnings ("unchecked" )
@@ -63,8 +62,8 @@ public R tenant(final Long... ids) {
6362 */
6463 @ SuppressWarnings ("unchecked" )
6564 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 );
6867 return (R ) this ;
6968 }
7069}
You can’t perform that action at this time.
0 commit comments