minor cleanup
This commit is contained in:
		
							parent
							
								
									5d37cd403b
								
							
						
					
					
						commit
						50c1734754
					
				| @ -26,7 +26,7 @@ public class MetricFilter implements Filter { | ||||
|     public void init(final FilterConfig config) throws ServletException { | ||||
|         if (metricService == null || actMetricService == null) { | ||||
|             metricService = (IMetricService) WebApplicationContextUtils.getRequiredWebApplicationContext(config.getServletContext()).getBean("metricService"); | ||||
|             actMetricService = (ICustomActuatorMetricService) WebApplicationContextUtils.getRequiredWebApplicationContext(config.getServletContext()).getBean("actuatorMetricService"); | ||||
|             actMetricService = WebApplicationContextUtils.getRequiredWebApplicationContext(config.getServletContext()).getBean(CustomActuatorMetricService.class); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|  | ||||
| @ -1,7 +1,10 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jpa="http://www.springframework.org/schema/data/jpa" | ||||
|     xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.2.xsd | ||||
|     http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd" | ||||
|     xsi:schemaLocation=" | ||||
|     http://www.springframework.org/schema/beans  | ||||
|     http://www.springframework.org/schema/beans/spring-beans.xsd | ||||
|     http://www.springframework.org/schema/data/jpa  | ||||
|     http://www.springframework.org/schema/data/jpa/spring-jpa.xsd" | ||||
| > | ||||
| 
 | ||||
|     <jpa:repositories base-package="org.baeldung.persistence.dao"/> | ||||
|  | ||||
| @ -4,7 +4,7 @@ | ||||
| 		http://www.springframework.org/schema/security  | ||||
|         http://www.springframework.org/schema/security/spring-security.xsd | ||||
| 		http://www.springframework.org/schema/beans  | ||||
|         http://www.springframework.org/schema/beans/spring-beans-4.2.xsd" | ||||
|         http://www.springframework.org/schema/beans/spring-beans.xsd" | ||||
| > | ||||
| 
 | ||||
|     <http pattern="/securityNone" security="none"/> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user