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:
@@ -29,6 +29,8 @@ package org.alfresco.linkvalidation;
|
||||
import java.io.Serializable;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
import java.util.concurrent.atomic.AtomicBoolean;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
|
||||
/**
|
||||
* This class allows the progress of synchronous calls to
|
||||
@@ -50,7 +52,8 @@ import java.util.concurrent.atomic.AtomicBoolean;
|
||||
public class HrefValidationProgress implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 3031274879702889688L;
|
||||
|
||||
private static Log log = LogFactory.getLog(HrefValidationProgress.class );
|
||||
|
||||
AtomicInteger webapp_update_count_;
|
||||
AtomicInteger dir_update_count_;
|
||||
AtomicInteger file_update_count_;
|
||||
@@ -94,6 +97,12 @@ public class HrefValidationProgress implements Serializable
|
||||
*/
|
||||
public void abort()
|
||||
{
|
||||
if(log.isDebugEnabled())
|
||||
{
|
||||
log.debug( "Validation request aborted via: " +
|
||||
"HrefValidationProgress.abort()");
|
||||
}
|
||||
|
||||
is_aborted_.set( true );
|
||||
setDone( true );
|
||||
}
|
||||
|
Reference in New Issue
Block a user