Skip to content

Commit 14c4621

Browse files
committed
Javadoc
1 parent 10412f4 commit 14c4621

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public Base64 get() {
9292
* Sets the URL-safe encoding policy.
9393
*
9494
* @param urlSafe URL-safe encoding policy, null resets to the default.
95-
* @return this.
95+
* @return {@code this} instance.
9696
*/
9797
public Builder setUrlSafe(final boolean urlSafe) {
9898
return setEncodeTable(toUrlSafeEncodeTable(urlSafe));

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ byte getPadding() {
103103
* Sets the decoding policy.
104104
*
105105
* @param decodingPolicy the decoding policy, null resets to the default.
106-
* @return this.
106+
* @return {@code this} instance.
107107
*/
108108
public B setDecodingPolicy(final CodecPolicy decodingPolicy) {
109109
this.decodingPolicy = decodingPolicy != null ? decodingPolicy : DECODING_POLICY_DEFAULT;
@@ -114,7 +114,7 @@ public B setDecodingPolicy(final CodecPolicy decodingPolicy) {
114114
* Sets the encode table.
115115
*
116116
* @param encodeTable the encode table, null resets to the default.
117-
* @return this.
117+
* @return {@code this} instance.
118118
*/
119119
public B setEncodeTable(final byte... encodeTable) {
120120
this.encodeTable = encodeTable != null ? encodeTable : defaultEncodeTable;
@@ -125,7 +125,7 @@ public B setEncodeTable(final byte... encodeTable) {
125125
* Sets the line length.
126126
*
127127
* @param lineLength the line length, less than 0 resets to the default.
128-
* @return this.
128+
* @return {@code this} instance.
129129
*/
130130
public B setLineLength(final int lineLength) {
131131
this.lineLength = Math.max(0, lineLength);
@@ -136,7 +136,7 @@ public B setLineLength(final int lineLength) {
136136
* Sets the line separator.
137137
*
138138
* @param lineSeparator the line separator, null resets to the default.
139-
* @return this.
139+
* @return {@code this} instance.
140140
*/
141141
public B setLineSeparator(final byte... lineSeparator) {
142142
this.lineSeparator = lineSeparator != null ? lineSeparator : CHUNK_SEPARATOR;
@@ -147,7 +147,7 @@ public B setLineSeparator(final byte... lineSeparator) {
147147
* Sets the padding byte.
148148
*
149149
* @param padding the padding byte.
150-
* @return this.
150+
* @return {@code this} instance.
151151
*/
152152
public B setPadding(final byte padding) {
153153
this.padding = padding;

0 commit comments

Comments
 (0)