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
This commit is contained in:
Michael Koch 2004-04-20 14:54:37 +00:00 committed by Michael Koch
parent a17c9f2ea1
commit 08c5d75719
15 changed files with 133 additions and 115 deletions

View file

@ -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 ();
}