commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1063784 - /commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/
Date Wed, 26 Jan 2011 16:45:42 GMT
Author: sebb
Date: Wed Jan 26 16:45:42 2011
New Revision: 1063784

URL: http://svn.apache.org/viewvc?rev=1063784&view=rev
Log:
Rename BasedCodec => BaseNCodec

Added:
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BaseNCodec.java
      - copied, changed from r1063760, commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BasedCodec.java
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BaseNCodecInputStream.java
      - copied, changed from r1063760, commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BasedCodecInputStream.java
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BaseNCodecOutputStream.java
      - copied, changed from r1063760, commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BasedCodecOutputStream.java
Removed:
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BasedCodec.java
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BasedCodecInputStream.java
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BasedCodecOutputStream.java
Modified:
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base32.java
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base32InputStream.java
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base32OutputStream.java

Modified: commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base32.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base32.java?rev=1063784&r1=1063783&r2=1063784&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base32.java (original)
+++ commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base32.java Wed Jan
26 16:45:42 2011
@@ -41,7 +41,7 @@ package org.apache.commons.codec.binary;
  * @since 1.5
  * @version $Revision$
  */
-public class Base32 extends BasedCodec {
+public class Base32 extends BaseNCodec {
 
     /**
      * BASE32 characters are 5 bits in length. 

Modified: commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base32InputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base32InputStream.java?rev=1063784&r1=1063783&r2=1063784&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base32InputStream.java
(original)
+++ commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base32InputStream.java
Wed Jan 26 16:45:42 2011
@@ -36,7 +36,7 @@ import java.io.InputStream;
  * @see <a href="http://www.ietf.org/rfc/rfc4648.txt">RFC 4648</a>
  * @since 1.5
  */
-public class Base32InputStream extends BasedCodecInputStream {
+public class Base32InputStream extends BaseNCodecInputStream {
 
     /**
      * Creates a Base32InputStream such that all data read is Base32-decoded from the original
provided InputStream.

Modified: commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base32OutputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base32OutputStream.java?rev=1063784&r1=1063783&r2=1063784&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base32OutputStream.java
(original)
+++ commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base32OutputStream.java
Wed Jan 26 16:45:42 2011
@@ -41,7 +41,7 @@ import java.io.OutputStream;
  * @see <a href="http://www.ietf.org/rfc/rfc2045.txt">RFC 2045</a>
  * @since 1.4
  */
-public class Base32OutputStream extends BasedCodecOutputStream {
+public class Base32OutputStream extends BaseNCodecOutputStream {
 
     /**
      * Creates a Base64OutputStream such that all data written is Base64-encoded to the original
provided OutputStream.

Copied: commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BaseNCodec.java
(from r1063760, commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BasedCodec.java)
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BaseNCodec.java?p2=commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BaseNCodec.java&p1=commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BasedCodec.java&r1=1063760&r2=1063784&rev=1063784&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BasedCodec.java (original)
+++ commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BaseNCodec.java Wed
Jan 26 16:45:42 2011
@@ -23,7 +23,7 @@ import org.apache.commons.codec.BinaryEn
 import org.apache.commons.codec.DecoderException;
 import org.apache.commons.codec.EncoderException;
 
-public abstract class BasedCodec implements BinaryEncoder, BinaryDecoder {
+public abstract class BaseNCodec implements BinaryEncoder, BinaryDecoder {
 
     /**
      *  MIME chunk size per RFC 2045 section 6.8.
@@ -91,7 +91,7 @@ public abstract class BasedCodec impleme
      */
     protected int modulus;
 
-    protected BasedCodec(){
+    protected BaseNCodec(){
     }
 
     /**

Copied: commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BaseNCodecInputStream.java
(from r1063760, commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BasedCodecInputStream.java)
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BaseNCodecInputStream.java?p2=commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BaseNCodecInputStream.java&p1=commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BasedCodecInputStream.java&r1=1063760&r2=1063784&rev=1063784&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BasedCodecInputStream.java
(original)
+++ commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BaseNCodecInputStream.java
Wed Jan 26 16:45:42 2011
@@ -22,15 +22,15 @@ import java.io.FilterInputStream;
 import java.io.IOException;
 import java.io.InputStream;
 
-public class BasedCodecInputStream extends FilterInputStream {
+public class BaseNCodecInputStream extends FilterInputStream {
 
     private final boolean doEncode;
 
-    private final BasedCodec basedCodec;
+    private final BaseNCodec basedCodec;
 
     private final byte[] singleByte = new byte[1];
 
-    protected BasedCodecInputStream(InputStream in, BasedCodec basedCodec, boolean doEncode)
{
+    protected BaseNCodecInputStream(InputStream in, BaseNCodec basedCodec, boolean doEncode)
{
         super(in);
         this.doEncode = doEncode;
         this.basedCodec = basedCodec;

Copied: commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BaseNCodecOutputStream.java
(from r1063760, commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BasedCodecOutputStream.java)
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BaseNCodecOutputStream.java?p2=commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BaseNCodecOutputStream.java&p1=commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BasedCodecOutputStream.java&r1=1063760&r2=1063784&rev=1063784&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BasedCodecOutputStream.java
(original)
+++ commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BaseNCodecOutputStream.java
Wed Jan 26 16:45:42 2011
@@ -22,15 +22,15 @@ import java.io.FilterOutputStream;
 import java.io.IOException;
 import java.io.OutputStream;
 
-public class BasedCodecOutputStream extends FilterOutputStream {
+public class BaseNCodecOutputStream extends FilterOutputStream {
 
     private final boolean doEncode;
 
-    private final BasedCodec basedCodec;
+    private final BaseNCodec basedCodec;
 
     private final byte[] singleByte = new byte[1];
 
-    public BasedCodecOutputStream(OutputStream out, BasedCodec basedCodec, boolean doEncode)
{
+    public BaseNCodecOutputStream(OutputStream out, BaseNCodec basedCodec, boolean doEncode)
{
         super(out);
         this.basedCodec = basedCodec;
         this.doEncode = doEncode;



Mime
View raw message