You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by gg...@apache.org on 2004/09/01 19:34:38 UTC
cvs commit: jakarta-commons/codec/src/java/org/apache/commons/codec/net BCodec.java
ggregory 2004/09/01 10:34:38
Modified: codec/src/java/org/apache/commons/codec/net BCodec.java
Log:
Declared exception was never thrown.
Revision Changes Path
1.10 +4 -4 jakarta-commons/codec/src/java/org/apache/commons/codec/net/BCodec.java
Index: BCodec.java
===================================================================
RCS file: /home/cvs/jakarta-commons/codec/src/java/org/apache/commons/codec/net/BCodec.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- BCodec.java 27 Aug 2004 17:18:17 -0000 1.9
+++ BCodec.java 1 Sep 2004 17:34:38 -0000 1.10
@@ -74,14 +74,14 @@
return "B";
}
- protected byte[] doEncoding(byte[] bytes) throws EncoderException {
+ protected byte[] doEncoding(byte[] bytes) {
if (bytes == null) {
return null;
}
return Base64.encodeBase64(bytes);
}
- protected byte[] doDecoding(byte[] bytes) throws DecoderException {
+ protected byte[] doDecoding(byte[] bytes) {
if (bytes == null) {
return null;
}
@@ -94,7 +94,7 @@
* @param value
* string to convert to Base64 form
* @param charset
- * the charset for pString
+ * the charset for <code>value</code>
* @return Base64 string
*
* @throws EncoderException
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org