import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import java.io.ByteArrayOutputStream;
<BUG>import java.io.IOException;
import java.util.Collection;</BUG>
@RequestMapping(ExportController.EXPORT_PATH)
<BUG>public abstract class ExportController<R extends QueryRequest<?>, E extends Exception> {
static final String EXPORT_PATH = "/api/bi/export";</BUG>
static final String CSV_PATH = "/csv";

import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Collection;
@RequestMapping(ExportController.EXPORT_PATH)
public abstract class ExportController<R extends QueryRequest<?>, E extends Exception> {
protected static final int PAGINATION_SIZE = 1000;
static final String EXPORT_PATH = "/api/bi/export";
static final String CSV_PATH = "/csv";
