@ -70,14 +74,27 @@ public class ServletEndpointManagementContextConfiguration {
@@ -70,14 +74,27 @@ public class ServletEndpointManagementContextConfiguration {
@ -48,18 +50,22 @@ public class ServletEndpointManagementContextConfigurationTests {
@@ -48,18 +50,22 @@ public class ServletEndpointManagementContextConfigurationTests {
@ -67,8 +73,9 @@ public class ServletEndpointManagementContextConfigurationTests {
@@ -67,8 +73,9 @@ public class ServletEndpointManagementContextConfigurationTests {
@ -91,7 +98,13 @@ public class ServletEndpointManagementContextConfigurationTests {
@@ -91,7 +98,13 @@ public class ServletEndpointManagementContextConfigurationTests {
@ -68,8 +68,8 @@ public class WebMvcEndpointChildContextConfigurationTests {
@@ -68,8 +68,8 @@ public class WebMvcEndpointChildContextConfigurationTests {
Assert.notNull(servletEndpoints,"ServletEndpoints must not be null");
this.basePaths.addAll(basePaths);
if(CollectionUtils.isEmpty(this.basePaths)){
this.basePaths.add("");
}
this.servletEndpoints=servletEndpoints;
}
@ -59,14 +73,20 @@ public class ServletEndpointRegistrar implements ServletContextInitializer {
@@ -59,14 +73,20 @@ public class ServletEndpointRegistrar implements ServletContextInitializer {