diff --git a/pgpainless-core/src/main/java/org/pgpainless/util/ArmorUtils.java b/pgpainless-core/src/main/java/org/pgpainless/util/ArmorUtils.java index 41aac842..38527997 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/util/ArmorUtils.java +++ b/pgpainless-core/src/main/java/org/pgpainless/util/ArmorUtils.java @@ -157,7 +157,7 @@ public final class ArmorUtils { return armor; } - public static List getCommendHeaderValues(ArmoredInputStream armor) { + public static List getCommentHeaderValues(ArmoredInputStream armor) { return getArmorHeaderValues(armor, HEADER_COMMENT); } diff --git a/pgpainless-core/src/test/java/org/pgpainless/util/ArmorUtilsTest.java b/pgpainless-core/src/test/java/org/pgpainless/util/ArmorUtilsTest.java index b9610892..9adb8d96 100644 --- a/pgpainless-core/src/test/java/org/pgpainless/util/ArmorUtilsTest.java +++ b/pgpainless-core/src/test/java/org/pgpainless/util/ArmorUtilsTest.java @@ -70,7 +70,7 @@ public class ArmorUtilsTest { assertEquals(HashAlgorithm.SHA512, hashes.get(0)); // Comment - List commentHeader = ArmorUtils.getCommendHeaderValues(armorIn); + List commentHeader = ArmorUtils.getCommentHeaderValues(armorIn); assertEquals(2, commentHeader.size()); assertEquals("This is a comment", commentHeader.get(0)); assertEquals("This is another comment", commentHeader.get(1));