From e9b5e6278af9fb414617fe61164bec68749f458e Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Thu, 9 Jan 2020 20:00:17 +0100 Subject: [PATCH] Use StandardCharsets.UTF_8 --- .../main/java/org/pgpainless/key/OpenPgpV4Fingerprint.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pgpainless-core/src/main/java/org/pgpainless/key/OpenPgpV4Fingerprint.java b/pgpainless-core/src/main/java/org/pgpainless/key/OpenPgpV4Fingerprint.java index 3ddeef90..35cf7471 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/key/OpenPgpV4Fingerprint.java +++ b/pgpainless-core/src/main/java/org/pgpainless/key/OpenPgpV4Fingerprint.java @@ -18,6 +18,7 @@ package org.pgpainless.key; import javax.annotation.Nonnull; import java.nio.ByteBuffer; import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; import org.bouncycastle.openpgp.PGPPublicKey; import org.bouncycastle.openpgp.PGPPublicKeyRing; @@ -48,7 +49,7 @@ public class OpenPgpV4Fingerprint implements CharSequence, Comparable