mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-23 11:27:57 +01:00
Suppress DefaultCharset warning
This commit is contained in:
parent
2ce4486e89
commit
18b1fadeb6
1 changed files with 1 additions and 0 deletions
|
@ -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