Skip to content

Commit df37ca8

Browse files
committed
Javadoc
1 parent db16fe3 commit df37ca8

4 files changed

Lines changed: 13 additions & 13 deletions

File tree

src/main/java/org/apache/commons/codec/net/BCodec.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ public class BCodec extends RFC1522Codec implements StringEncoder, StringDecoder
6161
private final CodecPolicy decodingPolicy;
6262

6363
/**
64-
* Default constructor.
64+
* Constructs a new instance.
6565
*/
6666
public BCodec() {
6767
this(StandardCharsets.UTF_8);
6868
}
6969

7070
/**
71-
* Constructor which allows for the selection of a default Charset
71+
* Constructs a new instance for the selection of a default Charset.
7272
*
7373
* @param charset
7474
* the default string Charset to use.
@@ -81,7 +81,7 @@ public BCodec(final Charset charset) {
8181
}
8282

8383
/**
84-
* Constructor which allows for the selection of a default Charset.
84+
* Constructs a new instance for the selection of a default Charset.
8585
*
8686
* @param charset
8787
* the default string Charset to use.
@@ -95,7 +95,7 @@ public BCodec(final Charset charset, final CodecPolicy decodingPolicy) {
9595
}
9696

9797
/**
98-
* Constructor which allows for the selection of a default Charset
98+
* Constructs a new instance for the selection of a default Charset.
9999
*
100100
* @param charsetName
101101
* the default Charset to use.

src/main/java/org/apache/commons/codec/net/QCodec.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,14 @@ public class QCodec extends RFC1522Codec implements StringEncoder, StringDecoder
108108
private boolean encodeBlanks;
109109

110110
/**
111-
* Default constructor.
111+
* Constructs a new instance.
112112
*/
113113
public QCodec() {
114114
this(StandardCharsets.UTF_8);
115115
}
116116

117117
/**
118-
* Constructor which allows for the selection of a default Charset.
118+
* Constructs a new instance for the selection of a default Charset.
119119
*
120120
* @param charset
121121
* the default string Charset to use.
@@ -128,7 +128,7 @@ public QCodec(final Charset charset) {
128128
}
129129

130130
/**
131-
* Constructor which allows for the selection of a default Charset.
131+
* Constructs a new instance for the selection of a default Charset.
132132
*
133133
* @param charsetName
134134
* the Charset to use.

src/main/java/org/apache/commons/codec/net/QuotedPrintableCodec.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -298,14 +298,14 @@ private static boolean isWhitespace(final int b) {
298298
private final boolean strict;
299299

300300
/**
301-
* Default constructor, assumes default Charset of {@link StandardCharsets#UTF_8}
301+
* Constructs a new instance, assumes default Charset of {@link StandardCharsets#UTF_8}
302302
*/
303303
public QuotedPrintableCodec() {
304304
this(StandardCharsets.UTF_8, false);
305305
}
306306

307307
/**
308-
* Constructor which allows for the selection of the strict mode.
308+
* Constructs a new instance for the selection of the strict mode.
309309
*
310310
* @param strict if {@code true}, soft line breaks will be used.
311311
* @since 1.10
@@ -315,7 +315,7 @@ public QuotedPrintableCodec(final boolean strict) {
315315
}
316316

317317
/**
318-
* Constructor which allows for the selection of a default Charset.
318+
* Constructs a new instance for the selection of a default Charset.
319319
*
320320
* @param charset the default string Charset to use.
321321
* @since 1.7
@@ -325,7 +325,7 @@ public QuotedPrintableCodec(final Charset charset) {
325325
}
326326

327327
/**
328-
* Constructor which allows for the selection of a default Charset and strict mode.
328+
* Constructs a new instance for the selection of a default Charset and strict mode.
329329
*
330330
* @param charset the default string Charset to use.
331331
* @param strict if {@code true}, soft line breaks will be used.
@@ -337,7 +337,7 @@ public QuotedPrintableCodec(final Charset charset, final boolean strict) {
337337
}
338338

339339
/**
340-
* Constructor which allows for the selection of a default Charset.
340+
* Constructs a new instance for the selection of a default Charset.
341341
*
342342
* @param charsetName the default string Charset to use.
343343
* @throws UnsupportedCharsetException If no support for the named Charset is available in this instance of the Java virtual machine.

src/main/java/org/apache/commons/codec/net/URLCodec.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public URLCodec() {
179179
}
180180

181181
/**
182-
* Constructor which allows for the selection of a default charset.
182+
* Constructs a new instance for the selection of a default charset.
183183
*
184184
* @param charset the default string charset to use.
185185
*/

0 commit comments

Comments
 (0)