mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-24 11:57:59 +01:00
Suppress DefaultCharset warning
This commit is contained in:
parent
8597286acc
commit
140168bbe8
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue