From 08c5d75719821940cc39591681aaec3c7fdc63ce Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Tue, 20 Apr 2004 14:54:37 +0000 Subject: ByteBufferImpl.java, [...]: Made sure all classes are final and removed final keyword from all methods. 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. From-SVN: r80907 --- 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 7f99f33..88a9d8c 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.1