Polish EndpointRequest

- Remove redundant cast
This commit is contained in:
Moritz Halbritter 2022-06-21 14:30:05 +02:00
parent e438338d98
commit 35997a30a3
1 changed files with 2 additions and 2 deletions

View File

@ -164,11 +164,11 @@ public final class EndpointRequest {
}
private EndpointServerWebExchangeMatcher(Class<?>[] endpoints, boolean includeLinks) {
this(Arrays.asList((Object[]) endpoints), Collections.emptyList(), includeLinks);
this(Arrays.asList(endpoints), Collections.emptyList(), includeLinks);
}
private EndpointServerWebExchangeMatcher(String[] endpoints, boolean includeLinks) {
this(Arrays.asList((Object[]) endpoints), Collections.emptyList(), includeLinks);
this(Arrays.asList(endpoints), Collections.emptyList(), includeLinks);
}
private EndpointServerWebExchangeMatcher(List<Object> includes, List<Object> excludes, boolean includeLinks) {