File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 1818
1919import java .util .Collection ;
2020import java .util .Collections ;
21- import java .util .HashMap ;
2221import java .util .LinkedHashMap ;
2322import java .util .List ;
2423import java .util .Map ;
@@ -85,11 +84,8 @@ public Map<String, Object> invoke() {
8584 protected void extractMethodMappings (ApplicationContext applicationContext ,
8685 Map <String , Object > result ) {
8786 if (applicationContext != null ) {
88- Map <String , AbstractHandlerMethodMapping <?>> mappings = new HashMap <String , AbstractHandlerMethodMapping <?>>();
8987 for (String name : applicationContext .getBeansOfType (
9088 AbstractHandlerMethodMapping .class ).keySet ()) {
91- mappings .put (name , applicationContext .getBean (name ,
92- AbstractHandlerMethodMapping .class ));
9389 @ SuppressWarnings ("unchecked" )
9490 Map <?, HandlerMethod > methods = applicationContext .getBean (name ,
9591 AbstractHandlerMethodMapping .class ).getHandlerMethods ();
You can’t perform that action at this time.
0 commit comments