diff options
author | Michael Koch <konqueror@gmx.de> | 2004-04-20 14:54:37 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2004-04-20 14:54:37 +0000 |
commit | 08c5d75719821940cc39591681aaec3c7fdc63ce (patch) | |
tree | d537507404d80063e474451791d6e5fc6c41c099 /libjava/java/nio/CharBufferImpl.java | |
parent | a17c9f2ea1ecec71169eff40c591ca3bf8307a32 (diff) | |
download | gcc-08c5d75719821940cc39591681aaec3c7fdc63ce.zip gcc-08c5d75719821940cc39591681aaec3c7fdc63ce.tar.gz gcc-08c5d75719821940cc39591681aaec3c7fdc63ce.tar.bz2 |
ByteBufferImpl.java, [...]: Made sure all classes are final and removed final keyword from all methods.
2004-04-20 Michael Koch <konqueror@gmx.de>
* 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
Diffstat (limited to 'libjava/java/nio/CharBufferImpl.java')
-rw-r--r-- | libjava/java/nio/CharBufferImpl.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libjava/java/nio/CharBufferImpl.java b/libjava/java/nio/CharBufferImpl.java index aacc2cb..1a8dff1 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 <code>char</code> 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 (); } |