org.apache.commons.logging.Log



API Populatity

66 Client projects

Project: org.apache

Project Activiti/Activiti in file ...s.aop.ProcessStartAnnotationBeanPostProcessor.java (2012-12-19)
@@ -18,8 +18,6 @@ package org.activiti.spring.components.aop;
 import org.activiti.engine.ProcessEngine;
 import org.activiti.spring.annotations.ProcessVariable;
 import org.activiti.spring.annotations.StartProcess;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.springframework.aop.framework.Advised;
 import org.springframework.aop.framework.AopInfrastructureBean;
 import org.springframework.aop.framework.ProxyConfig;
@@ -41,8 +39,6 @@ import org.springframework.util.ClassUtils;
  */
 public class ProcessStartAnnotationBeanPostProcessor extends ProxyConfig implements BeanPostProcessor, InitializingBean {
 
-	private Log log = LogFactory.getLog(getClass()) ;
-
 	/**
 	 * the process engine as created by a {@link org.activiti.spring.ProcessEngineFactoryBean}
 	 */
Project SpringSource/spring-framework in file ...mvc.method.annotation.ResponseBodyAdviceChain.java (2015-02-10)
@@ -18,9 +18,6 @@ package org.springframework.web.servlet.mvc.method.annotation;
 
 import java.util.List;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
 import org.springframework.core.MethodParameter;
 import org.springframework.http.MediaType;
 import org.springframework.http.converter.HttpMessageConverter;
@@ -37,8 +34,6 @@ import org.springframework.web.method.ControllerAdviceBean;
  */
 class ResponseBodyAdviceChain {
 
-	private static final Log logger = LogFactory.getLog(ResponseBodyAdviceChain.class);
-
 	private final List<Object> advice;
 
 
Project SpringSource/spring-framework in file ...ms.config.AbstractJmsListenerContainerFactory.java (2014-05-09)
@@ -19,6 +19,9 @@ package org.springframework.jms.config;
 
 import javax.jms.ConnectionFactory;
 
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
 import org.springframework.jms.listener.AbstractMessageListenerContainer;
 import org.springframework.jms.support.converter.MessageConverter;
 import org.springframework.jms.support.destination.DestinationResolver;
@@ -34,6 +37,8 @@ import org.springframework.util.ErrorHandler;
 public abstract class AbstractJmsListenerContainerFactory<C extends AbstractMessageListenerContainer>
 		implements JmsListenerContainerFactory<C> {
 
+	protected final Log logger = LogFactory.getLog(getClass());
+
 	private ConnectionFactory connectionFactory;
 
 	private DestinationResolver destinationResolver;