parentFolderId, name, description, serviceContext);
}
@Override
public FileVersion cancelCheckOut(long fileEntryId) throws PortalException {
Repository repository = getRepository();
<BUG>FileVersion fileVersion = repository.cancelCheckOut(fileEntryId);
_repositoryEventTrigger.trigger(</BUG>
RepositoryEventType.Update.class, FileEntry.class,
<BUG>fileVersion.getFileEntry());
return fileVersion;</BUG>
}

parentFolderId, name, description, serviceContext);
}
@Override
public FileVersion cancelCheckOut(long fileEntryId) throws PortalException {
Repository repository = getRepository();
FileVersion fileVersion = repository.cancelCheckOut(fileEntryId);
if (fileVersion != null) {
_repositoryEventTrigger.trigger(
RepositoryEventType.Update.class, FileEntry.class,
fileVersion.getFileEntry());
}
return fileVersion;
}
