fix/gebietsdatei #11

Merged
PBS2H21ASH merged 3 commits from fix/gebietsdatei into master 2022-12-06 14:57:54 +01:00
Showing only changes of commit 81b4cbeb7e - Show all commits

View File

@ -15,8 +15,6 @@ public class GebietsDatei {
try {
Files.readAllLines(Paths.get(dateiName)).forEach(line -> {
String[] parts = line.split(";");
System.out.println(parts[0]);
gebiete.add(new Gebiet(Integer.parseInt(parts[0]), Integer.parseInt(parts[1]), parts[2], (parts[3].equals("-")) ? 0 : Long.parseLong(parts[3]), (parts[4].equals("-")) ? 0 : Integer.parseInt(parts[4])));
});
} catch (Exception e) {