if (fileStateA.isDirectory() && fileStateB.isDirectory())
{
if (fileStateA.isNewer(fileStateB))
{
result.incrementCountCopyFolderAction(OwnSyncResult.EVALUATED);
return new CopyFolderAction(fileStateA, folderStateA, fileStateB, folderStateB);
}
if (fileStateA.isOlder(fileStateB))
{
result.incrementCountCopyFolderAction(OwnSyncResult.EVALUATED);
return new CopyFolderAction(fileStateB, folderStateB, fileStateA, folderStateA);
}
return null;
}