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 14c4621f Javadoc 14c4621f is described below commit 14c4621f4cb6b01f1215446c8037418886482df9 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Thu May 23 09:15:47 2024 -0400 Javadoc --- src/main/java/org/apache/commons/codec/binary/Base64.java | 2 +- src/main/java/org/apache/commons/codec/binary/BaseNCodec.java | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/apache/commons/codec/binary/Base64.java b/src/main/java/org/apache/commons/codec/binary/Base64.java index 971d2c2e..48ad7334 100644 --- a/src/main/java/org/apache/commons/codec/binary/Base64.java +++ b/src/main/java/org/apache/commons/codec/binary/Base64.java @@ -92,7 +92,7 @@ public class Base64 extends BaseNCodec { * 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)); 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 c598abc3..e4e3f6ae 100644 --- a/src/main/java/org/apache/commons/codec/binary/BaseNCodec.java +++ b/src/main/java/org/apache/commons/codec/binary/BaseNCodec.java @@ -103,7 +103,7 @@ public abstract class BaseNCodec implements BinaryEncoder, BinaryDecoder { * 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; @@ -114,7 +114,7 @@ public abstract class BaseNCodec implements BinaryEncoder, BinaryDecoder { * 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; @@ -125,7 +125,7 @@ public abstract class BaseNCodec implements BinaryEncoder, BinaryDecoder { * 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); @@ -136,7 +136,7 @@ public abstract class BaseNCodec implements BinaryEncoder, BinaryDecoder { * 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; @@ -147,7 +147,7 @@ public abstract class BaseNCodec implements BinaryEncoder, BinaryDecoder { * Sets the padding byte. * * @param padding the padding byte. - * @return this. + * @return {@code this} instance. */ public B setPadding(final byte padding) { this.padding = padding;