From 5e6c7d67a50d0aefa34cf04975adce5a09590b0f Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Mon, 16 Nov 2020 13:43:06 +0200 Subject: [PATCH] fix javadoc comment --- src/main/java/com/sparrowwallet/hummingbird/BC32.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/com/sparrowwallet/hummingbird/BC32.java b/src/main/java/com/sparrowwallet/hummingbird/BC32.java index f3c7248..09ca07b 100644 --- a/src/main/java/com/sparrowwallet/hummingbird/BC32.java +++ b/src/main/java/com/sparrowwallet/hummingbird/BC32.java @@ -27,6 +27,7 @@ public class BC32 { private static final String CHARSET = "qpzry9x8gf2tvdw0s3jn54khce6mua7l"; /** + * * Find the polynomial with value coefficients mod the generator as 30-bit. */ private static int polymod(final byte[] values) { @@ -69,6 +70,9 @@ public class BC32 { /** * Encode a BC32 string. + * + * @param values the bytes to encode + * @return the encoded BC32 string */ public static String encode(final byte[] values) { List boxedList = new ArrayList<>(values.length); @@ -92,6 +96,9 @@ public class BC32 { /** * Decode a BC32 string. + * + * @param str the String to decode + * @return the decoded bytes */ public static byte[] decode(final String str) { boolean lower = false, upper = false;