001package org.hl7.fhir.utilities;
002
003import java.io.IOException;
004import java.io.InputStream;
005import java.util.zip.ZipInputStream;
006
007public class CloseProtectedZipInputStream extends ZipInputStream {
008
009  public CloseProtectedZipInputStream(InputStream in) {
010    super(in);
011  }
012
013  @Override
014  public void close() throws IOException {
015    // see stack overflow
016  }
017
018  public void actualClose() throws IOException {
019    super.close();
020  }
021
022}