Skip to content

Commit ca52f57

Browse files
committed
[CODEC-336] Base64.Builder.setUrlSafe() Javadoc incorrectly states null
is accepted for primitive boolean parameter
1 parent f3b0eb5 commit ca52f57

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/changes/changes.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ The <action> type attribute can be add,update,fix,remove.
4848
<action type="fix" dev="ggregory" due-to="Shalu Jha, Andrey, Gary Gregory" issue="CODEC-249">Fix Incorrect transform of CH digraph according Metaphone basic rules #423.</action>
4949
<action type="fix" dev="ggregory" due-to="DRUser123, Shalu Jha, Gary Gregory" issue="CODEC-317">ColognePhonetic can create duplicate consecutive codes in some cases.</action>
5050
<action type="fix" dev="ggregory" due-to="fancying, Gary Gregory">Add boundary tests for BinaryCodec.fromAscii partial-bit inputs #425.</action>
51+
<action type="fix" dev="ggregory" due-to="Partha Paul, Gary Gregory" issue="CODEC-336">Base64.Builder.setUrlSafe(boolean) Javadoc incorrectly states null is accepted for primitive boolean parameter.</action>
5152
<!-- ADD -->
5253
<action type="add" dev="ggregory" due-to="Inkeet, Gary Gregory, Wolff Bock von Wuelfingen" issue="CODEC-326">Add Base58 support.</action>
5354
<action type="add" dev="ggregory" due-to="Gary Gregory">Add BaseNCodecInputStream.AbstracBuilder.setByteArray(byte[]).</action>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public Builder setEncodeTable(final byte... encodeTable) {
157157
* {@code Builder.setDecodeTableFormat(DecodeTableFormat)} method.
158158
* </p>
159159
*
160-
* @param urlSafe URL-safe encoding policy, null resets to the default.
160+
* @param urlSafe URL-safe encoding policy.
161161
* @return {@code this} instance.
162162
*/
163163
public Builder setUrlSafe(final boolean urlSafe) {

0 commit comments

Comments
 (0)