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

Remove accidental marking of buffered stream in PGPUtilWrapper

This commit is contained in:
Paul Schaub 2022-02-15 14:19:46 +01:00
parent e276507b65
commit b33885c268

View file

@ -27,7 +27,6 @@ public final class PGPUtilWrapper {
* @throws IOException in case of an io error which is unrelated to base64 encoding * @throws IOException in case of an io error which is unrelated to base64 encoding
*/ */
public static InputStream getDecoderStream(BufferedInputStream buf) throws IOException { public static InputStream getDecoderStream(BufferedInputStream buf) throws IOException {
buf.mark(512);
try { try {
return PGPUtil.getDecoderStream(buf); return PGPUtil.getDecoderStream(buf);
} catch (IOException e) { } catch (IOException e) {