@ -18,7 +18,6 @@ package org.springframework.boot.actuate.endpoint;
@@ -18,7 +18,6 @@ package org.springframework.boot.actuate.endpoint;
import java.util.Collection ;
import java.util.Collections ;
import java.util.HashMap ;
import java.util.LinkedHashMap ;
import java.util.List ;
import java.util.Map ;
@ -84,11 +83,8 @@ public class RequestMappingEndpoint extends AbstractEndpoint<Map<String, Object>
@@ -84,11 +83,8 @@ public class RequestMappingEndpoint extends AbstractEndpoint<Map<String, Object>
protected void extractMethodMappings ( ApplicationContext applicationContext ,
Map < String , Object > result ) {
if ( applicationContext ! = null ) {
Map < String , AbstractHandlerMethodMapping < ? > > mappings = new HashMap < String , AbstractHandlerMethodMapping < ? > > ( ) ;
for ( String name : applicationContext . getBeansOfType (
AbstractHandlerMethodMapping . class ) . keySet ( ) ) {
mappings . put ( name , applicationContext . getBean ( name ,
AbstractHandlerMethodMapping . class ) ) ;
@SuppressWarnings ( "unchecked" )
Map < ? , HandlerMethod > methods = applicationContext . getBean ( name ,
AbstractHandlerMethodMapping . class ) . getHandlerMethods ( ) ;