mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-07-05 17:52:35 +02:00
Suppress DefaultCharset warning
This commit is contained in:
parent
17f90eb721
commit
9eea028cf7
|
@ -47,6 +47,7 @@ import org.pgpainless.algorithm.SymmetricKeyAlgorithm;
|
||||||
|
|
||||||
public class OpenPgpInputStream extends BufferedInputStream {
|
public class OpenPgpInputStream extends BufferedInputStream {
|
||||||
|
|
||||||
|
@SuppressWarnings("CharsetObjectCanBeUsed")
|
||||||
private static final byte[] ARMOR_HEADER = "-----BEGIN PGP ".getBytes(Charset.forName("UTF8"));
|
private static final byte[] ARMOR_HEADER = "-----BEGIN PGP ".getBytes(Charset.forName("UTF8"));
|
||||||
|
|
||||||
// Buffer beginning bytes of the data
|
// Buffer beginning bytes of the data
|
||||||
|
|
Loading…
Reference in a new issue