Skip to content

Commit 38f7f12

Browse files
committed
Reuse constructor.
1 parent 5b2b313 commit 38f7f12

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ public BCodec() {
8181
* @since 1.7
8282
*/
8383
public BCodec(final Charset charset) {
84-
this.charset = charset;
85-
this.decodingPolicy = DECODING_POLICY_DEFAULT;
84+
this(charset, DECODING_POLICY_DEFAULT);
8685
}
8786

8887
/**

0 commit comments

Comments
 (0)