1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-18 02:12:06 +01:00

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

View file

@ -27,18 +27,6 @@ public class CRCingArmoredInputStreamWrapper extends ArmoredInputStream {
this.inputStream = inputStream; 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 @Override
public boolean isClearText() { public boolean isClearText() {
return inputStream.isClearText(); return inputStream.isClearText();