Fix raw types error

pull/25178/head
Madhura Bhave 4 years ago
parent c05cb21ab7
commit 301e80be8c

@ -52,7 +52,7 @@ class JerseyEndpointIntegrationTests {
@Test @Test
void linksPageIsNotAvailableWhenDisabled() { void linksPageIsNotAvailableWhenDisabled() {
getContextRunner(new Class[] { EndpointsConfiguration.class, ResourceConfigConfiguration.class }) getContextRunner(new Class<?>[] { EndpointsConfiguration.class, ResourceConfigConfiguration.class })
.withPropertyValues("management.endpoints.web.discovery.enabled:false").run((context) -> { .withPropertyValues("management.endpoints.web.discovery.enabled:false").run((context) -> {
int port = context int port = context
.getSourceApplicationContext(AnnotationConfigServletWebServerApplicationContext.class) .getSourceApplicationContext(AnnotationConfigServletWebServerApplicationContext.class)

Loading…
Cancel
Save