You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/05/17 20:01:17 UTC
[commons-codec] branch master updated: Better Javadoc.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-codec.git
The following commit(s) were added to refs/heads/master by this push:
new b0acbb1 Better Javadoc.
b0acbb1 is described below
commit b0acbb1eefcab1b0e1ef6ee32169cd6b3c10648b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun May 17 16:01:13 2020 -0400
Better Javadoc.
---
src/main/java/org/apache/commons/codec/binary/BaseNCodec.java | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/apache/commons/codec/binary/BaseNCodec.java b/src/main/java/org/apache/commons/codec/binary/BaseNCodec.java
index 1fe339c..587ba38 100644
--- a/src/main/java/org/apache/commons/codec/binary/BaseNCodec.java
+++ b/src/main/java/org/apache/commons/codec/binary/BaseNCodec.java
@@ -580,11 +580,12 @@ public abstract class BaseNCodec implements BinaryEncoder, BinaryDecoder {
}
/**
- * Returns the decoding behavior policy. Decoding will raise an {@link IllegalArgumentException} if trailing bits
- * are not part of a valid encoding.
- *
+ * Returns the decoding behavior policy.
+ *
* <p>
- * The default is lenient. Decoding will compose trailing bits into 8-bit bytes and discard the remainder.
+ * The default is lenient. If the decoding policy is strict, then decoding will raise an
+ * {@link IllegalArgumentException} if trailing bits are not part of a valid encoding. Decoding will compose
+ * trailing bits into 8-bit bytes and discard the remainder.
* </p>
*
* @return true if using strict decoding