removed unneeded method
This commit is contained in:
parent
d18c70a4e8
commit
54a305a2d1
1 changed files with 0 additions and 20 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue