Skip to content

Commit e57f11a

Browse files
committed
Declared exception was never thrown.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/codec/trunk@130414 13f79535-47bb-0310-9956-ffa450edef68
1 parent 6257f83 commit e57f11a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
*
4242
* @author Apache Software Foundation
4343
* @since 1.3
44-
* @version $Id: BCodec.java,v 1.9 2004/08/27 17:18:17 ggregory Exp $
44+
* @version $Id: BCodec.java,v 1.10 2004/09/01 17:34:38 ggregory Exp $
4545
*/
4646
public class BCodec extends RFC1522Codec implements StringEncoder, StringDecoder {
4747
/**
@@ -74,14 +74,14 @@ protected String getEncoding() {
7474
return "B";
7575
}
7676

77-
protected byte[] doEncoding(byte[] bytes) throws EncoderException {
77+
protected byte[] doEncoding(byte[] bytes) {
7878
if (bytes == null) {
7979
return null;
8080
}
8181
return Base64.encodeBase64(bytes);
8282
}
8383

84-
protected byte[] doDecoding(byte[] bytes) throws DecoderException {
84+
protected byte[] doDecoding(byte[] bytes) {
8585
if (bytes == null) {
8686
return null;
8787
}
@@ -94,7 +94,7 @@ protected byte[] doDecoding(byte[] bytes) throws DecoderException {
9494
* @param value
9595
* string to convert to Base64 form
9696
* @param charset
97-
* the charset for pString
97+
* the charset for <code>value</code>
9898
* @return Base64 string
9999
*
100100
* @throws EncoderException

0 commit comments

Comments
 (0)