bael-4793: fix indentation
This commit is contained in:
		
							parent
							
								
									3fdc7836ce
								
							
						
					
					
						commit
						3f19c9f6e8
					
				| @ -20,7 +20,7 @@ public class AnnotationDrivenEndpointsListener { | |||||||
|     public void handleContextRefresh(ContextRefreshedEvent event) { |     public void handleContextRefresh(ContextRefreshedEvent event) { | ||||||
|         ApplicationContext applicationContext = event.getApplicationContext(); |         ApplicationContext applicationContext = event.getApplicationContext(); | ||||||
|         RequestMappingHandlerMapping requestMappingHandlerMapping = applicationContext |         RequestMappingHandlerMapping requestMappingHandlerMapping = applicationContext | ||||||
|                 .getBean("requestMappingHandlerMapping", RequestMappingHandlerMapping.class); |           .getBean("requestMappingHandlerMapping", RequestMappingHandlerMapping.class); | ||||||
|         Map<RequestMappingInfo, HandlerMethod> map = requestMappingHandlerMapping.getHandlerMethods(); |         Map<RequestMappingInfo, HandlerMethod> map = requestMappingHandlerMapping.getHandlerMethods(); | ||||||
|         map.forEach((key, value) -> LOGGER.info("{} {}", key, value)); |         map.forEach((key, value) -> LOGGER.info("{} {}", key, value)); | ||||||
|     } |     } | ||||||
|  | |||||||
| @ -20,7 +20,7 @@ public class EndpointsListener implements ApplicationListener<ContextRefreshedEv | |||||||
|     public void onApplicationEvent(ContextRefreshedEvent event) { |     public void onApplicationEvent(ContextRefreshedEvent event) { | ||||||
|         ApplicationContext applicationContext = event.getApplicationContext(); |         ApplicationContext applicationContext = event.getApplicationContext(); | ||||||
|         RequestMappingHandlerMapping requestMappingHandlerMapping = applicationContext |         RequestMappingHandlerMapping requestMappingHandlerMapping = applicationContext | ||||||
|                 .getBean("requestMappingHandlerMapping", RequestMappingHandlerMapping.class); |           .getBean("requestMappingHandlerMapping", RequestMappingHandlerMapping.class); | ||||||
|         Map<RequestMappingInfo, HandlerMethod> map = requestMappingHandlerMapping.getHandlerMethods(); |         Map<RequestMappingInfo, HandlerMethod> map = requestMappingHandlerMapping.getHandlerMethods(); | ||||||
|         map.forEach((key, value) -> LOGGER.info("{} {}", key, value)); |         map.forEach((key, value) -> LOGGER.info("{} {}", key, value)); | ||||||
|     } |     } | ||||||
|  | |||||||
| @ -13,9 +13,9 @@ public class SpringFoxConfig { | |||||||
|     @Bean |     @Bean | ||||||
|     public Docket api() { |     public Docket api() { | ||||||
|         return new Docket(DocumentationType.SWAGGER_2) |         return new Docket(DocumentationType.SWAGGER_2) | ||||||
|                 .select() |           .select() | ||||||
|                 .apis(RequestHandlerSelectors.any()) |           .apis(RequestHandlerSelectors.any()) | ||||||
|                 .paths(PathSelectors.any()) |           .paths(PathSelectors.any()) | ||||||
|                 .build(); |           .build(); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user