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 2003/11/03 23:16:54 UTC
cvs commit: jakarta-commons/codec/src/java/org/apache/commons/codec/binary Base64.java
ggregory 2003/11/03 14:16:54
Modified: codec/src/java/org/apache/commons/codec/binary Base64.java
Log:
Minor Javadoc'ing.
Revision Changes Path
1.12 +7 -7 jakarta-commons/codec/src/java/org/apache/commons/codec/binary/Base64.java
Index: Base64.java
===================================================================
RCS file: /home/cvs/jakarta-commons/codec/src/java/org/apache/commons/codec/binary/Base64.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- Base64.java 12 Oct 2003 19:48:15 -0000 1.11
+++ Base64.java 3 Nov 2003 22:16:54 -0000 1.12
@@ -64,11 +64,11 @@
/**
* Provides encode/decode for RFC 2045 Base64 as
- * defined by RFC 2045, by Freed and Borenstein. <a
- * href="http://www.ietf.org/rfc/rfc2045.txt">RFC 2045</a>:
- * Multipurpose Internet Mail Extensions (MIME) Part One: Format of
- * Internet Message Bodies. Reference 1996.
+ * defined by RFC 2045, by Freed and Borenstein.
*
+ * @see <a href="http://www.ietf.org/rfc/rfc2045.txt">RFC 2045</a>, by Freed and Borenstein:
+ * Multipurpose Internet Mail Extensions (MIME) Part One:
+ * Format of Internet Message Bodies. Reference 1996.
* @author Jeffrey Rodriguez
* @author <a href="mailto:dlr@apache.org">Daniel Rall</a>
* @author <a href="mailto:m.redington@ucl.ac.uk">Martin Redington</a>
@@ -263,7 +263,7 @@
* @throws DecoderException if there is an Decoder specific exception
* during the decoding process
*/
- public byte[] decode(byte[] pArray) throws DecoderException {
+ public byte[] decode(byte[] pArray) {
byte[] result;
result = decodeBase64(pArray);
return (result);
@@ -574,7 +574,7 @@
* @throws EncoderException if there is an Encoder specific exception
* during the encoding process
*/
- public byte[] encode(byte[] pArray) throws EncoderException {
+ public byte[] encode(byte[] pArray) {
return (encodeBase64(pArray, false));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org