List<SyncDLObject> syncDLObjects)
throws PortalException {
PermissionChecker permissionChecker = getPermissionChecker();
<BUG>List<SyncDLObject> checkedSyncDLObjects = new ArrayList<>();
for (SyncDLObject syncDLObject : syncDLObjects) {
String event = syncDLObject.getEvent();</BUG>
if (event.equals(SyncConstants.EVENT_DELETE)) {
continue;
}
String type = syncDLObject.getType();

List<SyncDLObject> syncDLObjects)
throws PortalException {
PermissionChecker permissionChecker = getPermissionChecker();
List<SyncDLObject> checkedSyncDLObjects = new ArrayList<>();
long lastAccessTime = 0;
for (SyncDLObject syncDLObject : syncDLObjects) {
if (syncDLObject.getModifiedTime() > lastAccessTime) {
lastAccessTime = syncDLObject.getModifiedTime();
}
String event = syncDLObject.getEvent();
if (event.equals(SyncConstants.EVENT_DELETE)) {
continue;
}
String type = syncDLObject.getType();
