Merge branch '1.1.x'
This commit is contained in:
		
						commit
						0a19fd0af0
					
				| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			@ -85,11 +84,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();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue