commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1075406 - in /commons/proper/codec/trunk/src/java/org/apache/commons/codec: BinaryDecoder.java BinaryEncoder.java Encoder.java
Date Mon, 28 Feb 2011 16:18:27 GMT
Author: ggregory
Date: Mon Feb 28 16:18:26 2011
New Revision: 1075406

URL: http://svn.apache.org/viewvc?rev=1075406&view=rev
Log:
Better parameter name.

Modified:
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/BinaryDecoder.java
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/BinaryEncoder.java
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/Encoder.java

Modified: commons/proper/codec/trunk/src/java/org/apache/commons/codec/BinaryDecoder.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/BinaryDecoder.java?rev=1075406&r1=1075405&r2=1075406&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/java/org/apache/commons/codec/BinaryDecoder.java (original)
+++ commons/proper/codec/trunk/src/java/org/apache/commons/codec/BinaryDecoder.java Mon Feb
28 16:18:26 2011
@@ -28,7 +28,7 @@ public interface BinaryDecoder extends D
     /**
      * Decodes a byte array and returns the results as a byte array. 
      *
-     * @param pArray A byte array which has been encoded with the
+     * @param source A byte array which has been encoded with the
      *      appropriate encoder
      * 
      * @return a byte array that contains decoded content
@@ -37,6 +37,6 @@ public interface BinaryDecoder extends D
      *          if a Decoder encounters a failure condition during
      *          the decode process.
      */
-    byte[] decode(byte[] pArray) throws DecoderException;
+    byte[] decode(byte[] source) throws DecoderException;
 }  
 

Modified: commons/proper/codec/trunk/src/java/org/apache/commons/codec/BinaryEncoder.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/BinaryEncoder.java?rev=1075406&r1=1075405&r2=1075406&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/java/org/apache/commons/codec/BinaryEncoder.java (original)
+++ commons/proper/codec/trunk/src/java/org/apache/commons/codec/BinaryEncoder.java Mon Feb
28 16:18:26 2011
@@ -29,7 +29,7 @@ public interface BinaryEncoder extends E
      * Encodes a byte array and return the encoded data
      * as a byte array.
      * 
-     * @param pArray Data to be encoded
+     * @param source Data to be encoded
      *
      * @return A byte array containing the encoded data
      * 
@@ -37,6 +37,6 @@ public interface BinaryEncoder extends E
      *      encounters a failure condition during the
      *      encoding process.
      */
-    byte[] encode(byte[] pArray) throws EncoderException;
+    byte[] encode(byte[] source) throws EncoderException;
 }  
 

Modified: commons/proper/codec/trunk/src/java/org/apache/commons/codec/Encoder.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/Encoder.java?rev=1075406&r1=1075405&r2=1075406&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/java/org/apache/commons/codec/Encoder.java (original)
+++ commons/proper/codec/trunk/src/java/org/apache/commons/codec/Encoder.java Mon Feb 28 16:18:26
2011
@@ -33,7 +33,7 @@ public interface Encoder {
      * as an Object.  The Objects here may just be <code>byte[]</code>
      * or <code>String</code>s depending on the implementation used.
      *   
-     * @param pObject An object ot encode
+     * @param source An object ot encode
      * 
      * @return An "encoded" Object
      * 
@@ -41,6 +41,6 @@ public interface Encoder {
      *  thrown if the encoder experiences a failure
      *  condition during the encoding process.
      */
-    Object encode(Object pObject) throws EncoderException;
+    Object encode(Object source) throws EncoderException;
 }  
 



Mime
View raw message