1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-06-15 16:14:51 +02:00

Suppress DefaultCharset warning

This commit is contained in:
Paul Schaub 2022-09-29 13:14:54 +02:00
parent 2ce4486e89
commit 18b1fadeb6

View file

@ -47,6 +47,7 @@ import org.pgpainless.algorithm.SymmetricKeyAlgorithm;
public class OpenPgpInputStream extends BufferedInputStream {
@SuppressWarnings("CharsetObjectCanBeUsed")
private static final byte[] ARMOR_HEADER = "-----BEGIN PGP ".getBytes(Charset.forName("UTF8"));
// Buffer beginning bytes of the data