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/CharBufferImpl.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libjava/java/nio/CharBufferImpl.java') diff --git a/libjava/java/nio/CharBufferImpl.java b/libjava/java/nio/CharBufferImpl.java index aacc2cb2658..1a8dff1d07c 100644 --- a/libjava/java/nio/CharBufferImpl.java +++ b/libjava/java/nio/CharBufferImpl.java @@ -104,7 +104,7 @@ final class CharBufferImpl extends CharBuffer return false; } - final public CharSequence subSequence (int start, int end) + public CharSequence subSequence (int start, int end) { if (start < 0 || start > length () @@ -118,7 +118,7 @@ final class CharBufferImpl extends CharBuffer /** * Relative get method. Reads the next char from the buffer. */ - final public char get () + public char get () { char result = backing_buffer [position ()]; position (position () + 1); @@ -131,7 +131,7 @@ final class CharBufferImpl extends CharBuffer * * @exception ReadOnlyBufferException If this buffer is read-only. */ - final public CharBuffer put (char value) + public CharBuffer put (char value) { if (readOnly) throw new ReadOnlyBufferException (); @@ -148,7 +148,7 @@ final class CharBufferImpl extends CharBuffer * @exception IndexOutOfBoundsException If index is negative or not smaller * than the buffer's limit. */ - final public char get (int index) + public char get (int index) { if (index < 0 || index >= limit ()) @@ -165,7 +165,7 @@ final class CharBufferImpl extends CharBuffer * than the buffer's limit. * @exception ReadOnlyBufferException If this buffer is read-only. */ - final public CharBuffer put (int index, char value) + public CharBuffer put (int index, char value) { if (index < 0 || index >= limit ()) @@ -178,7 +178,7 @@ final class CharBufferImpl extends CharBuffer return this; } - final public ByteOrder order () + public ByteOrder order () { return ByteOrder.nativeOrder (); } -- cgit v1.2.1