You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2008/06/19 20:22:05 UTC
svn commit: r669616 -
/commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base64.java
Author: sebb
Date: Thu Jun 19 11:22:04 2008
New Revision: 669616
URL: http://svn.apache.org/viewvc?rev=669616&view=rev
Log:
CODEC-69 (part) - make Base64 constructors public
Modified:
commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base64.java
Modified: commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base64.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base64.java?rev=669616&r1=669615&r2=669616&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base64.java (original)
+++ commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base64.java Thu Jun 19 11:22:04 2008
@@ -137,7 +137,7 @@
* Default constructor: lineLength is 76, and the lineSeparator is CRLF
* when encoding, and all forms can be decoded.
*/
- Base64() {
+ public Base64() {
this(CHUNK_SIZE, CHUNK_SEPARATOR);
}
@@ -154,7 +154,7 @@
* @param lineLength each line of encoded data will be at most this long
* (rounded up to nearest multiple of 4). Ignored when decoding.
*/
- Base64(int lineLength) {
+ public Base64(int lineLength) {
this(lineLength, CHUNK_SEPARATOR);
}
@@ -174,7 +174,7 @@
* @throws IllegalArgumentException The provided lineSeparator included
* some base64 characters. That's not going to work!
*/
- Base64(int lineLength, byte[] lineSeparator) {
+ public Base64(int lineLength, byte[] lineSeparator) {
this.lineLength = lineLength;
this.lineSeparator = lineSeparator;
if (lineLength > 0) {