diff options
Diffstat (limited to 'libjava/java/nio/ShortBufferImpl.java')
-rw-r--r-- | libjava/java/nio/ShortBufferImpl.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libjava/java/nio/ShortBufferImpl.java b/libjava/java/nio/ShortBufferImpl.java index 938d5ce..6871f09 100644 --- a/libjava/java/nio/ShortBufferImpl.java +++ b/libjava/java/nio/ShortBufferImpl.java @@ -100,7 +100,7 @@ final class ShortBufferImpl extends ShortBuffer /** * Relative get method. Reads the next <code>short</code> from the buffer. */ - final public short get () + public short get () { short result = backing_buffer [position ()]; position (position () + 1); @@ -113,7 +113,7 @@ final class ShortBufferImpl extends ShortBuffer * * @exception ReadOnlyBufferException If this buffer is read-only. */ - final public ShortBuffer put (short value) + public ShortBuffer put (short value) { if (readOnly) throw new ReadOnlyBufferException (); @@ -130,7 +130,7 @@ final class ShortBufferImpl extends ShortBuffer * @exception IndexOutOfBoundsException If index is negative or not smaller * than the buffer's limit. */ - final public short get (int index) + public short get (int index) { return backing_buffer [index]; } @@ -143,7 +143,7 @@ final class ShortBufferImpl extends ShortBuffer * than the buffer's limit. * @exception ReadOnlyBufferException If this buffer is read-only. */ - final public ShortBuffer put (int index, short value) + public ShortBuffer put (int index, short value) { if (readOnly) throw new ReadOnlyBufferException (); @@ -152,7 +152,7 @@ final class ShortBufferImpl extends ShortBuffer return this; } - final public ByteOrder order () + public ByteOrder order () { return ByteOrder.nativeOrder (); } |