Skip to content
Snippets Groups Projects

Add groupService testing after the math issues; fix where needed

Files

@@ -32,7 +32,7 @@ public class CsvHelper {
public static <T> List<T> readCsv(MultipartFile csvFile, Class<T> readerFor, CsvSchema schema)
throws IOException, EmptyCsvException, InvalidCsvException {
if (csvFile.isEmpty()) {
if (csvFile == null || csvFile.isEmpty()) {
throw new EmptyCsvException("Empty csv");
}
Loading