protected List<SyncDLObject> getSyncDLObjects(
List<SyncDLObject> syncDLObjects, long companyId, long repositoryId,
long parentFolderId, long lastAccessTime)
throws PortalException {
List<SyncDLObject> curSyncDLObjects =
<BUG>syncDLObjectFinder.filterFindByC_M_R_P(
</BUG>
companyId, lastAccessTime, repositoryId, parentFolderId);
<BUG>if (!InlineSQLHelperUtil.isEnabled(repositoryId)) {</BUG>
curSyncDLObjects = checkSyncDLObjects(curSyncDLObjects);
<BUG>}</BUG>
syncDLObjects.addAll(curSyncDLObjects);

protected List<SyncDLObject> getSyncDLObjects(
List<SyncDLObject> syncDLObjects, long companyId, long repositoryId,
long parentFolderId, long lastAccessTime)
throws PortalException {
List<SyncDLObject> curSyncDLObjects =
syncDLObjectPersistence.findByC_M_R_P(
companyId, lastAccessTime, repositoryId, parentFolderId);
curSyncDLObjects = checkSyncDLObjects(curSyncDLObjects);
syncDLObjects.addAll(curSyncDLObjects);
