long parentFolderId, long lastAccessTime)
throws PortalException {
List<SyncDLObject> curSyncDLObjects =
syncDLObjectPersistence.findByC_M_R_P(
companyId, lastAccessTime, repositoryId, parentFolderId);
<BUG>curSyncDLObjects = checkSyncDLObjects(curSyncDLObjects);
syncDLObjects.addAll(curSyncDLObjects);</BUG>
for (SyncDLObject curSyncDLObject : curSyncDLObjects) {
String type = curSyncDLObject.getType();
if (!type.equals(SyncConstants.TYPE_FOLDER)) {

long parentFolderId, long lastAccessTime)
throws PortalException {
List<SyncDLObject> curSyncDLObjects =
syncDLObjectPersistence.findByC_M_R_P(
companyId, lastAccessTime, repositoryId, parentFolderId);
SyncDLObjectUpdate syncDLObjectUpdate = checkSyncDLObjects(
curSyncDLObjects);
curSyncDLObjects = syncDLObjectUpdate.getSyncDLObjects();
syncDLObjects.addAll(curSyncDLObjects);
for (SyncDLObject curSyncDLObject : curSyncDLObjects) {
String type = curSyncDLObject.getType();
if (!type.equals(SyncConstants.TYPE_FOLDER)) {
