String path = dialog.open();
try {
if (path != null) {
-
+
Path p = Paths.get(path);
if (Files.exists(p)) {
+ @SuppressWarnings("unused")
Map<String, Integer> readCSVHeader = DistrictImportUtils.readCSVHeader(p, ';', true);
TechTypeTableView.table.setTechTypePath(path);
} else {