Commit c4229d58 authored by Riegel's avatar Riegel
Browse files

Refactor: Cleanup code

2 merge requests!28Version 3.17.0 Release,!26Add ZIP-archive support
Showing with 4 additions and 4 deletions
+4 -4
......@@ -3,20 +3,20 @@ package de.hft.stuttgart.citydoctor2.ziploader;
import de.hft.stuttgart.citydoctor2.datastructure.CityDoctorModel;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
public class ErroneousEntry extends CityGmlZipEntry {
private ZipEntryErrorType errorType = null;
public ErroneousEntry(ZipEntry entry, ZipEntryErrorType errorType){
super(entry);
this.errorType = errorType;
}
@Override
public void validateModel(){}
public void validateModel(){
/* Erroneous entries could not parse their CityModel and thus skip validation */
}
@Override
public CityDoctorModel getModel(){
......
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