Polish EndpointRequest
- Remove redundant cast
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user