Revert "Polish EndpointRequest"

This reverts commit 35997a30a3.
This commit is contained in:
Moritz Halbritter
2022-06-21 15:43:57 +02:00
parent 35997a30a3
commit bc931cb32c

View File

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