Skip to content

Commit

Permalink
Made addStatics() generic
Browse files Browse the repository at this point in the history
Signed-off-by: Nils Bandener <nils.bandener@eliatra.com>
  • Loading branch information
nibix committed Oct 17, 2024
1 parent 6497d99 commit 3df0a95
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 3df0a95

Please sign in to comment.