Author: mturk Date: Tue Apr 14 18:00:39 2009 New Revision: 764907 URL: http://svn.apache.org/viewvc?rev=764907&view=rev Log: Fix some javadoc typos
Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/DirectByteBuffer.java Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/DirectByteBuffer.java URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/DirectByteBuffer.java?rev=764907&r1=764906&r2=764907&view=diff ============================================================================== --- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/DirectByteBuffer.java (original) +++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/DirectByteBuffer.java Tue Apr 14 18:00:39 2009 @@ -140,16 +140,16 @@ /** * Set ByteBuffer to specified character. - * @param b The ByteBuffer to use + * @param buf The ByteBuffer to use * @param c The character to set * @param count Number of characters * - * @throws NullPointerException if source is null + * @throws NullPointerException if <code>buf</code> is null * @throws IllegalArgumentException if <code>count</code> is less then <code>1</code> * @throws IOIndexOutOfBoundsException if copying would cause access of * data outside ByteBuffer bounds. */ - public static native void set(ByteBuffer b, int c, int count) + public static native void set(ByteBuffer buf, int c, int count) throws NullPointerException, IllegalArgumentException, IndexOutOfBoundsException; @@ -159,9 +159,9 @@ * @param dst The destination ByteBuffer. * @param length The number of bytes to be copied. * - * @throws NullPointerException if source or destination is null - * @throws IllegalArgumentException if length invalid - * @throws IOIndexOutOfBoundsException if copying would cause access of + * @throws NullPointerException if <code>src/code> or <code>dst/code> is null + * @throws IllegalArgumentException if <code>length</code> invalid + * @throws IndexOutOfBoundsException if copying would cause access of * data outside ByteBuffer bounds. */ public static void copy(ByteBuffer src, ByteBuffer dst, int length) @@ -179,9 +179,9 @@ * @param dstPos Starting position in the source ByteBuffer. * @param length The number of bytes to be copied. * - * @throws NullPointerException if source or destination is null - * @throws IllegalArgumentException if length invalid - * @throws IOIndexOutOfBoundsException if copying would cause access of + * @throws NullPointerException if <code>src/code> or <code>dst/code> is null + * @throws IllegalArgumentException if <code>length</code> invalid + * @throws IndexOutOfBoundsException if copying would cause access of * data outside ByteBuffer bounds. */ public static void copy(ByteBuffer src, int srcPos, ByteBuffer dst,