remove unnecessary (and buggy) BufferedInputStream wrapping
This commit is contained in:
1 parent
c2e7c2416f
commit
b9c0504465
3 files changed
+20
-8
No files matched your search
@@ -165,10 +165,6 @@ public class UncachedKeyRing {
|
||||
// if there are no objects left from the last factory, create a new one
|
||||
if (mObjectFactory == null) {
|
||||
InputStream in = PGPUtil.getDecoderStream(stream);
|
||||
if (!BufferedInputStream.class.isInstance(in)) {
|
||||
in = new BufferedInputStream(in);
|
||||
}
|
||||
|
||||
mObjectFactory = new PGPObjectFactory(in, new JcaKeyFingerprintCalculator());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user