Skip to content

Commit 9e2945f

Browse files
committed
Better parameter name.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1075406 13f79535-47bb-0310-9956-ffa450edef68
1 parent 30f915a commit 9e2945f

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/java/org/apache/commons/codec/BinaryDecoder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public interface BinaryDecoder extends Decoder {
2828
/**
2929
* Decodes a byte array and returns the results as a byte array.
3030
*
31-
* @param pArray A byte array which has been encoded with the
31+
* @param source A byte array which has been encoded with the
3232
* appropriate encoder
3333
*
3434
* @return a byte array that contains decoded content
@@ -37,6 +37,6 @@ public interface BinaryDecoder extends Decoder {
3737
* if a Decoder encounters a failure condition during
3838
* the decode process.
3939
*/
40-
byte[] decode(byte[] pArray) throws DecoderException;
40+
byte[] decode(byte[] source) throws DecoderException;
4141
}
4242

src/java/org/apache/commons/codec/BinaryEncoder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ public interface BinaryEncoder extends Encoder {
2929
* Encodes a byte array and return the encoded data
3030
* as a byte array.
3131
*
32-
* @param pArray Data to be encoded
32+
* @param source Data to be encoded
3333
*
3434
* @return A byte array containing the encoded data
3535
*
3636
* @throws EncoderException thrown if the Encoder
3737
* encounters a failure condition during the
3838
* encoding process.
3939
*/
40-
byte[] encode(byte[] pArray) throws EncoderException;
40+
byte[] encode(byte[] source) throws EncoderException;
4141
}
4242

src/java/org/apache/commons/codec/Encoder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ public interface Encoder {
3333
* as an Object. The Objects here may just be <code>byte[]</code>
3434
* or <code>String</code>s depending on the implementation used.
3535
*
36-
* @param pObject An object ot encode
36+
* @param source An object ot encode
3737
*
3838
* @return An "encoded" Object
3939
*
4040
* @throws EncoderException an encoder exception is
4141
* thrown if the encoder experiences a failure
4242
* condition during the encoding process.
4343
*/
44-
Object encode(Object pObject) throws EncoderException;
44+
Object encode(Object source) throws EncoderException;
4545
}
4646

0 commit comments

Comments
 (0)