1

remove simple to fix warnings

Co-authored-by: Christoph <tobi@urpost.de>
This commit is contained in:
Christoph
2020-03-29 00:15:22 +01:00
parent eb11751663
commit 98607dcf49
33 changed files with 672 additions and 545 deletions

View File

@ -11,9 +11,11 @@ import java.io.InputStream;
import java.util.List;
@Service
public class CsvService {
public final class CsvService {
public static List<User> read(InputStream stream) throws IOException {
private CsvService() {}
static List<User> read(InputStream stream) throws IOException {
CsvMapper mapper = new CsvMapper();
CsvSchema schema = mapper.schemaFor(User.class).withHeader().withColumnReordering(true);