mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Merged V2.1 to HEAD
6694: Removal of explicit Log4J usage git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6750 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -39,7 +39,8 @@ import org.alfresco.service.cmr.avm.AVMService;
|
||||
import org.alfresco.service.cmr.repository.NodeRef;
|
||||
import org.alfresco.service.namespace.QName;
|
||||
import org.alfresco.util.Pair;
|
||||
import org.apache.log4j.Logger;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.jbpm.graph.exe.ExecutionContext;
|
||||
import org.springframework.beans.factory.BeanFactory;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
@@ -53,8 +54,8 @@ public class AVMRemoveAllSrcWebappsHandler extends JBPMSpringActionHandler
|
||||
{
|
||||
static final long serialVersionUID = 3004374776252613278L;
|
||||
|
||||
private static Logger log =
|
||||
Logger.getLogger(AVMRemoveAllSrcWebappsHandler.class);
|
||||
private static Log log =
|
||||
LogFactory.getLog(AVMRemoveAllSrcWebappsHandler.class);
|
||||
|
||||
/**
|
||||
* The AVMService instance.
|
||||
|
@@ -30,7 +30,8 @@ import org.alfresco.service.cmr.avm.AVMService;
|
||||
import org.alfresco.service.cmr.avmsync.AVMDifference;
|
||||
import org.alfresco.service.cmr.avmsync.AVMSyncService;
|
||||
import org.alfresco.service.namespace.QName;
|
||||
import org.apache.log4j.Logger;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.jbpm.graph.exe.ExecutionContext;
|
||||
import org.springframework.beans.factory.BeanFactory;
|
||||
|
||||
@@ -43,7 +44,7 @@ public class AVMSubmitHandler extends JBPMSpringActionHandler
|
||||
{
|
||||
private static final long serialVersionUID = 7561005904505181493L;
|
||||
|
||||
private static Logger fgLogger = Logger.getLogger(AVMSubmitHandler.class);
|
||||
private static Log fgLogger = LogFactory.getLog(AVMSubmitHandler.class);
|
||||
|
||||
/**
|
||||
* The AVMSyncService.
|
||||
|
@@ -40,7 +40,8 @@ import org.alfresco.service.cmr.action.Action;
|
||||
import org.alfresco.service.cmr.action.ActionService;
|
||||
import org.alfresco.service.cmr.avm.AVMService;
|
||||
import org.alfresco.service.cmr.repository.NodeRef;
|
||||
import org.apache.log4j.Logger;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.jbpm.graph.exe.ExecutionContext;
|
||||
import org.springframework.beans.factory.BeanFactory;
|
||||
|
||||
@@ -54,7 +55,7 @@ public class AVMSubmitLinkChecker extends JBPMSpringActionHandler
|
||||
{
|
||||
private static final long serialVersionUID = 1442635948148675461L;
|
||||
|
||||
private static Logger logger = Logger.getLogger(AVMSubmitLinkChecker.class);
|
||||
private static Log logger = LogFactory.getLog(AVMSubmitLinkChecker.class);
|
||||
|
||||
/**
|
||||
* The AVMService.
|
||||
|
@@ -36,7 +36,8 @@ import org.alfresco.repo.transaction.TransactionListenerAdapter;
|
||||
import org.alfresco.service.cmr.avmsync.AVMDifference;
|
||||
import org.alfresco.util.VirtServerUtils;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.apache.log4j.Logger;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
/**
|
||||
* Gets callbacks at critical moments within a transaction
|
||||
@@ -45,8 +46,8 @@ import org.apache.log4j.Logger;
|
||||
*/
|
||||
public class AVMSubmitTransactionListener extends TransactionListenerAdapter
|
||||
{
|
||||
private static Logger log =
|
||||
Logger.getLogger(AVMSubmitTransactionListener.class);
|
||||
private static Log log =
|
||||
LogFactory.getLog(AVMSubmitTransactionListener.class);
|
||||
|
||||
public AVMSubmitTransactionListener() { }
|
||||
|
||||
|
Reference in New Issue
Block a user