mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
transferService : more debug logging
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22760 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
package org.alfresco.repo.transfer;
|
package org.alfresco.repo.transfer;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
import java.text.SimpleDateFormat;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
@@ -119,6 +120,7 @@ public class RepoRequisiteManifestProcessorImpl extends AbstractManifestProcesso
|
|||||||
if(destSer != null && ContentData.class.isAssignableFrom(destSer.getClass()))
|
if(destSer != null && ContentData.class.isAssignableFrom(destSer.getClass()))
|
||||||
{
|
{
|
||||||
ContentData destContent = (ContentData)destinationProps.get(propEntry.getKey());
|
ContentData destContent = (ContentData)destinationProps.get(propEntry.getKey());
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If the modification dates for the node are different
|
* If the modification dates for the node are different
|
||||||
*/
|
*/
|
||||||
@@ -127,7 +129,19 @@ public class RepoRequisiteManifestProcessorImpl extends AbstractManifestProcesso
|
|||||||
|
|
||||||
if(log.isDebugEnabled())
|
if(log.isDebugEnabled())
|
||||||
{
|
{
|
||||||
|
SimpleDateFormat SDF = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
|
||||||
|
|
||||||
log.debug ("srcModified :" + srcModified + "destModified :" + destModified);
|
log.debug ("srcModified :" + srcModified + "destModified :" + destModified);
|
||||||
|
|
||||||
|
if(srcModified instanceof Date)
|
||||||
|
{
|
||||||
|
log.debug("srcModified: " + SDF.format(srcModified));
|
||||||
|
}
|
||||||
|
|
||||||
|
if(destModified instanceof Date)
|
||||||
|
{
|
||||||
|
log.debug("destModified: " + SDF.format(destModified));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(srcModified != null &&
|
if(srcModified != null &&
|
||||||
|
Reference in New Issue
Block a user