Commit 6835e14e authored by Riegel's avatar Riegel
Browse files

Refactor: Remove unused field

2 merge requests!28Version 3.17.0 Release,!26Add ZIP-archive support
Showing with 0 additions and 4 deletions
+0 -4
......@@ -25,7 +25,6 @@ public class CityGmlZipArchive implements Serializable {
private List<CityGmlZipEntry> entries;
private final Path archivePath;
private final String archiveNameRE;
private ZipFile zipFile;
public static CityGmlZipArchive fromZipFile(String zipFile, ParserConfiguration config) {
CityGmlZipArchive archive = CityGmlZipArchive.register(zipFile);
......@@ -57,14 +56,11 @@ public class CityGmlZipArchive implements Serializable {
public void mountArchive(ParserConfiguration config){
try (ZipFile zip = new ZipFile(archivePath.toFile())) {
zipFile = zip;
for (CityGmlZipEntry entry : entries){
entry.loadEntry(config);
}
} catch (IOException e) {
logger.error(e);
} finally {
zipFile = null;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment