diff options
| author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-20 14:54:37 +0000 |
|---|---|---|
| committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-20 14:54:37 +0000 |
| commit | a433cc20974591a2d8ec3ea57e7c72f2ec3af5df (patch) | |
| tree | d537507404d80063e474451791d6e5fc6c41c099 /libjava/java/nio/DoubleBufferImpl.java | |
| parent | ce97e13dedadf5635b96807626bc2d005b9022bc (diff) | |
| download | gcc-a433cc20974591a2d8ec3ea57e7c72f2ec3af5df.tar.gz | |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80907 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/nio/DoubleBufferImpl.java')
| -rw-r--r-- | libjava/java/nio/DoubleBufferImpl.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libjava/java/nio/DoubleBufferImpl.java b/libjava/java/nio/DoubleBufferImpl.java index 2c425dceb30..81fde6db6e6 100644 --- a/libjava/java/nio/DoubleBufferImpl.java +++ b/libjava/java/nio/DoubleBufferImpl.java @@ -100,7 +100,7 @@ final class DoubleBufferImpl extends DoubleBuffer /** * Relative get method. Reads the next <code>double</code> from the buffer. */ - final public double get () + public double get () { double result = backing_buffer [position ()]; position (position () + 1); @@ -113,7 +113,7 @@ final class DoubleBufferImpl extends DoubleBuffer * * @exception ReadOnlyBufferException If this buffer is read-only. */ - final public DoubleBuffer put (double value) + public DoubleBuffer put (double value) { if (readOnly) throw new ReadOnlyBufferException (); @@ -130,7 +130,7 @@ final class DoubleBufferImpl extends DoubleBuffer * @exception IndexOutOfBoundsException If index is negative or not smaller * than the buffer's limit. */ - final public double get (int index) + public double get (int index) { return backing_buffer [index]; } @@ -143,7 +143,7 @@ final class DoubleBufferImpl extends DoubleBuffer * than the buffer's limit. * @exception ReadOnlyBufferException If this buffer is read-only. */ - final public DoubleBuffer put (int index, double value) + public DoubleBuffer put (int index, double value) { if (readOnly) throw new ReadOnlyBufferException (); @@ -152,7 +152,7 @@ final class DoubleBufferImpl extends DoubleBuffer return this; } - final public ByteOrder order () + public ByteOrder order () { return ByteOrder.nativeOrder (); } |
