This commit is contained in:
Phillip Webb
2015-06-26 16:06:11 -07:00
parent 4f072f4046
commit b68382f3ba
5 changed files with 6 additions and 9 deletions

View File

@@ -107,6 +107,7 @@ public class EndpointHandlerMapping extends RequestMappingHandlerMapping impleme
}
@Override
@Deprecated
protected void registerHandlerMethod(Object handler, Method method,
RequestMappingInfo mapping) {
if (mapping == null) {

View File

@@ -205,4 +205,5 @@ public class HealthMvcEndpointTests {
Health health = ((ResponseEntity<Health>) result).getBody();
assertTrue(health.getStatus() == Status.DOWN);
}
}