removed unneeded method

This commit is contained in:
fillg1 2026-04-11 20:55:07 +02:00
commit 54a305a2d1

View file

@ -107,26 +107,6 @@ public class SplitZipWriter implements Closeable {
addZipToResult(); addZipToResult();
} }
public void writeReadMe() throws IOException, InvalidAlgorithmParameterException, NoSuchPaddingException,
NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException {
if (zipOutputStream != null) {
LOG.info("Skip adding Readme");
return;
}
try (InputStream readmeStream = this.getClass().getClassLoader().getResourceAsStream("Readme.txt")) {
if (readmeStream == null) {
throw new IOException("Cannot open Readme");
}
LOG.info("Writing Readme");
write(readmeStream, "Readme.txt");
} catch (IOException e) {
throw new IOException("Could not write Readme", e);
}
}
public ZipResult getZipResult() { public ZipResult getZipResult() {
return this.zipResult; return this.zipResult;
} }