From a433cc20974591a2d8ec3ea57e7c72f2ec3af5df Mon Sep 17 00:00:00 2001 From: mkoch Date: Tue, 20 Apr 2004 14:54:37 +0000 Subject: 2004-04-20 Michael Koch * java/nio/ByteBufferImpl.java, java/nio/CharBufferImpl.java, java/nio/DirectByteBufferImpl.java, java/nio/DoubleBufferImpl.java, java/nio/DoubleViewBufferImpl.java, java/nio/FloatBufferImpl.java, java/nio/FloatViewBufferImpl.java, java/nio/IntBufferImpl.java, java/nio/IntViewBufferImpl.java, java/nio/LongBufferImpl.java, java/nio/LongViewBufferImpl.java, java/nio/MappedByteBufferImpl.java, java/nio/ShortBufferImpl.java, java/nio/ShortViewBufferImpl.java: Made sure all classes are final and removed final keyword from all methods. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80907 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/java/nio/LongBufferImpl.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libjava/java/nio/LongBufferImpl.java') diff --git a/libjava/java/nio/LongBufferImpl.java b/libjava/java/nio/LongBufferImpl.java index 7f99f336686..88a9d8c5415 100644 --- a/libjava/java/nio/LongBufferImpl.java +++ b/libjava/java/nio/LongBufferImpl.java @@ -100,7 +100,7 @@ final class LongBufferImpl extends LongBuffer /** * Relative get method. Reads the next long from the buffer. */ - final public long get () + public long get () { long result = backing_buffer [position ()]; position (position () + 1); @@ -113,7 +113,7 @@ final class LongBufferImpl extends LongBuffer * * @exception ReadOnlyBufferException If this buffer is read-only. */ - final public LongBuffer put (long value) + public LongBuffer put (long value) { if (readOnly) throw new ReadOnlyBufferException (); @@ -130,7 +130,7 @@ final class LongBufferImpl extends LongBuffer * @exception IndexOutOfBoundsException If index is negative or not smaller * than the buffer's limit. */ - final public long get (int index) + public long get (int index) { return backing_buffer [index]; } @@ -143,7 +143,7 @@ final class LongBufferImpl extends LongBuffer * than the buffer's limit. * @exception ReadOnlyBufferException If this buffer is read-only. */ - final public LongBuffer put (int index, long value) + public LongBuffer put (int index, long value) { if (readOnly) throw new ReadOnlyBufferException (); @@ -152,7 +152,7 @@ final class LongBufferImpl extends LongBuffer return this; } - final public ByteOrder order () + public ByteOrder order () { return ByteOrder.nativeOrder (); } -- cgit v1.2.1