Skip to content

Commit

Permalink
Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed May 23, 2024
1 parent 10412f4 commit 14c4621
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/apache/commons/codec/binary/Base64.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public Base64 get() {
* Sets the URL-safe encoding policy.
*
* @param urlSafe URL-safe encoding policy, null resets to the default.
* @return this.
* @return {@code this} instance.
*/
public Builder setUrlSafe(final boolean urlSafe) {
return setEncodeTable(toUrlSafeEncodeTable(urlSafe));
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/org/apache/commons/codec/binary/BaseNCodec.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ byte getPadding() {
* Sets the decoding policy.
*
* @param decodingPolicy the decoding policy, null resets to the default.
* @return this.
* @return {@code this} instance.
*/
public B setDecodingPolicy(final CodecPolicy decodingPolicy) {
this.decodingPolicy = decodingPolicy != null ? decodingPolicy : DECODING_POLICY_DEFAULT;
Expand All @@ -114,7 +114,7 @@ public B setDecodingPolicy(final CodecPolicy decodingPolicy) {
* Sets the encode table.
*
* @param encodeTable the encode table, null resets to the default.
* @return this.
* @return {@code this} instance.
*/
public B setEncodeTable(final byte... encodeTable) {
this.encodeTable = encodeTable != null ? encodeTable : defaultEncodeTable;
Expand All @@ -125,7 +125,7 @@ public B setEncodeTable(final byte... encodeTable) {
* Sets the line length.
*
* @param lineLength the line length, less than 0 resets to the default.
* @return this.
* @return {@code this} instance.
*/
public B setLineLength(final int lineLength) {
this.lineLength = Math.max(0, lineLength);
Expand All @@ -136,7 +136,7 @@ public B setLineLength(final int lineLength) {
* Sets the line separator.
*
* @param lineSeparator the line separator, null resets to the default.
* @return this.
* @return {@code this} instance.
*/
public B setLineSeparator(final byte... lineSeparator) {
this.lineSeparator = lineSeparator != null ? lineSeparator : CHUNK_SEPARATOR;
Expand All @@ -147,7 +147,7 @@ public B setLineSeparator(final byte... lineSeparator) {
* Sets the padding byte.
*
* @param padding the padding byte.
* @return this.
* @return {@code this} instance.
*/
public B setPadding(final byte padding) {
this.padding = padding;
Expand Down

0 comments on commit 14c4621

Please sign in to comment.