Skip to content

Commit b0acbb1

Browse files
committed
Better Javadoc.
1 parent e09b236 commit b0acbb1

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/main/java/org/apache/commons/codec/binary/BaseNCodec.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -580,11 +580,12 @@ protected byte[] ensureBufferSize(final int size, final Context context){
580580
}
581581

582582
/**
583-
* Returns the decoding behavior policy. Decoding will raise an {@link IllegalArgumentException} if trailing bits
584-
* are not part of a valid encoding.
585-
*
583+
* Returns the decoding behavior policy.
584+
*
586585
* <p>
587-
* The default is lenient. Decoding will compose trailing bits into 8-bit bytes and discard the remainder.
586+
* The default is lenient. If the decoding policy is strict, then decoding will raise an
587+
* {@link IllegalArgumentException} if trailing bits are not part of a valid encoding. Decoding will compose
588+
* trailing bits into 8-bit bytes and discard the remainder.
588589
* </p>
589590
*
590591
* @return true if using strict decoding

0 commit comments

Comments
 (0)