Remove unused CRCinArmoredInputStreamWrapper.possiblyWrap()

This commit is contained in:
Paul Schaub 2022-09-05 14:20:11 +02:00
parent c80e0dd0d5
commit 70ce4d45f4
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
1 changed files with 0 additions and 12 deletions

View File

@ -27,18 +27,6 @@ public class CRCingArmoredInputStreamWrapper extends ArmoredInputStream {
this.inputStream = inputStream;
}
public static InputStream possiblyWrap(InputStream inputStream) throws IOException {
if (inputStream instanceof CRCingArmoredInputStreamWrapper) {
return inputStream;
}
if (inputStream instanceof ArmoredInputStream) {
return new CRCingArmoredInputStreamWrapper((ArmoredInputStream) inputStream);
}
return inputStream;
}
@Override
public boolean isClearText() {
return inputStream.isClearText();