Commit 3d82c069 authored by Riegel's avatar Riegel
Browse files

Fix: Fix oversight in memory limit check

2 merge requests!28Version 3.17.0 Release,!26Add ZIP-archive support
Showing with 1 addition and 1 deletion
+1 -1
......@@ -81,7 +81,7 @@ public class CityGmlZipEntry implements Serializable {
throw new IOException(e);
}
}
return memoryLimit > fileSize;
return memoryLimit > (fileSize / MB);
}
protected CityGmlZipEntry(ZipEntry entry, CityGmlZipArchive parentArchive, boolean decompressed) {
......
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