mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-17 18:02:05 +01:00
Remove unused CRCinArmoredInputStreamWrapper.possiblyWrap()
This commit is contained in:
parent
c80e0dd0d5
commit
70ce4d45f4
1 changed files with 0 additions and 12 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue