You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2011/02/22 04:52:47 UTC
svn commit: r1073216 -
/commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BaseNCodec.java
Author: ggregory
Date: Tue Feb 22 03:52:46 2011
New Revision: 1073216
URL: http://svn.apache.org/viewvc?rev=1073216&view=rev
Log:
Javadoc fixes.
Modified:
commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BaseNCodec.java
Modified: commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BaseNCodec.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BaseNCodec.java?rev=1073216&r1=1073215&r2=1073216&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BaseNCodec.java (original)
+++ commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BaseNCodec.java Tue Feb 22 03:52:46 2011
@@ -161,13 +161,13 @@ public abstract class BaseNCodec impleme
/**
* Get the default buffer size. Can be overridden.
*
- * @return {@link DEFAULT_BUFFER_RESIZE_SIZE}
+ * @return {@link #DEFAULT_BUFFER_SIZE}
*/
protected int getDefaultBufferSize() {
return DEFAULT_BUFFER_SIZE;
}
- /** Increases our buffer by the {@link DEFAULT_BUFFER_RESIZE_FACTOR}. */
+ /** Increases our buffer by the {@link #DEFAULT_BUFFER_RESIZE_FACTOR}. */
private void resizeBuffer() {
if (buffer == null) {
buffer = new byte[getDefaultBufferSize()];
@@ -363,11 +363,11 @@ public abstract class BaseNCodec impleme
* Returns whether or not the <code>octet</code> is in the current alphabet.
* Does not allow whitespace or pad.
*
- * @param octet The value to test
+ * @param value The value to test
*
* @return <code>true</code> if the value is defined in the current alphabet, <code>false</code> otherwise.
*/
- protected abstract boolean isInAlphabet(byte b);
+ protected abstract boolean isInAlphabet(byte value);
/**
* Tests a given byte array to see if it contains only valid characters within the alphabet.