From 54a305a2d18a4b0eee20d5917ff63953d5e66de1 Mon Sep 17 00:00:00 2001 From: fillg1 Date: Sat, 11 Apr 2026 20:55:07 +0200 Subject: [PATCH] removed unneeded method --- .../illgner/ch/createzip/SplitZipWriter.java | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/src/main/java/illgner/ch/createzip/SplitZipWriter.java b/src/main/java/illgner/ch/createzip/SplitZipWriter.java index fc4afab..d78456c 100755 --- a/src/main/java/illgner/ch/createzip/SplitZipWriter.java +++ b/src/main/java/illgner/ch/createzip/SplitZipWriter.java @@ -107,26 +107,6 @@ public class SplitZipWriter implements Closeable { 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() { return this.zipResult; }