Closes gh-10636
This commit is contained in:
Johnny Lim
2017-10-14 01:39:03 +09:00
committed by Stephane Nicoll
parent 0af4536316
commit 5aa32b3d0f
18 changed files with 28 additions and 39 deletions

View File

@@ -108,7 +108,7 @@ public class WebFluxEndpointHandlerMapping extends RequestMappingInfoHandlerMapp
/**
* Creates a new {@code WebEndpointHandlerMapping} that provides mappings for the
* operations of the given {@code webEndpoints}.
* @param endpointMapping the path beneath which all endpoints should be mapped
* @param endpointMapping the base mapping for all endpoints
* @param webEndpoints the web endpoints
* @param endpointMediaTypes media types consumed and produced by the endpoints
* @param corsConfiguration the CORS configuration for the endpoints

View File

@@ -68,7 +68,7 @@ public class AnnotationEndpointDiscovererTests {
}
@Test
public void endpointIsInParentContextIsDiscovered() {
public void endpointInParentContextIsDiscovered() {
AnnotationConfigApplicationContext parent = new AnnotationConfigApplicationContext(
TestEndpointConfiguration.class);
loadWithParent(parent, EmptyConfiguration.class, hasTestEndpoint());