Skip to content

Commit

Permalink
Made addStatics() generic
Browse files Browse the repository at this point in the history
Signed-off-by: Nils Bandener <[email protected]>
  • Loading branch information
nibix committed Oct 8, 2024
1 parent fc49c3c commit e7a3952
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ private void loadStaticConfig() throws IOException {
staticTenants = SecurityDynamicConfiguration.fromNode(staticTenantsJsonNode, CType.TENANTS, 2, 0, 0);
}

public final static SecurityDynamicConfiguration<?> addStatics(SecurityDynamicConfiguration<?> original) {
public final static <T> SecurityDynamicConfiguration<T> addStatics(SecurityDynamicConfiguration<T> original) {
if (original.getCType() == CType.ACTIONGROUPS && !staticActionGroups.getCEntries().isEmpty()) {
original.add(staticActionGroups.deepClone());
}
Expand Down

0 comments on commit e7a3952

Please sign in to comment.