Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
import org.labkey.dbutils.api.SimpleQueryFactory;
import org.labkey.dbutils.api.SimpleQueryUpdater;
import org.labkey.dbutils.api.SimplerFilter;
import org.labkey.vfs.FileLike;
import org.labkey.webutils.api.action.SimpleJspPageAction;
import org.labkey.wnprc_compliance.form.NewUserForm;
import org.labkey.wnprc_compliance.form.RequirementForm;
import org.labkey.wnprc_compliance.security.ComplianceAdminPermission;
import org.springframework.validation.BindException;

import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.Writer;
Expand Down Expand Up @@ -273,7 +273,7 @@ public Object execute(NewUserFormWithData form, BindException errors) throws Exc
@RequiresPermission(ComplianceAdminPermission.class)
public class UploadAccessReportAPI extends AbstractFileUploadAction {
@Override
protected File handleFile(String filename, InputStream input, Writer writer) throws IOException {
protected FileLike handleFile(String filename, InputStream input, Writer writer) throws IOException {
try {

AccessReportService service = new AccessReportService(getUser(), getContainer());
Expand All @@ -291,7 +291,7 @@ protected File handleFile(String filename, InputStream input, Writer writer) thr
}

@Override
protected File getTargetFile(String filename) throws IOException {
protected FileLike getTargetFile(String filename) throws IOException {
// We'll be intercepting the stream, and we override handleFile(), so we don't need
// to implement this. If that ever changes, look at using /dev/null ("NUL" for Windows)
// to truly give a data sink.
Expand Down