summaryrefslogtreecommitdiff
path: root/java/nio/LongBuffer.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-05-20 10:34:20 +0000
committerMichael Koch <konqueror@gmx.de>2003-05-20 10:34:20 +0000
commit5f8ea513bce900c7b556e5ed576ce2163b74a010 (patch)
tree2a245f92880bacb5299ce03bc475e492e4138493 /java/nio/LongBuffer.java
parent99ad7b332a803cf1d670dfb9c23fbc9991f21ebb (diff)
downloadclasspath-5f8ea513bce900c7b556e5ed576ce2163b74a010.tar.gz
2003-05-20 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/ByteBufferImpl.java, gnu/java/nio/CharBufferImpl.java, gnu/java/nio/DoubleBufferImpl.java, gnu/java/nio/FloatBufferImpl.java, gnu/java/nio/IntBufferImpl.java, gnu/java/nio/LongBufferImpl.java, gnu/java/nio/ShortBufferImpl.java: Moved to java/nio. * gnu/java/nio/SocketChannelImpl.java (write): Dont use ByteBufferImpl directly. * gnu/java/nio/Makefile.am: (EXTRA_DIST): Removed moved files. * java/nio/ByteBuffer.java, java/nio/CharBuffer.java, java/nio/DoubleBuffer.java, java/nio/FloatBuffer.java, java/nio/IntBuffer.java, java/nio/LongBuffer.java, java/nio/ShortBuffer.java: Dont import anything. * java/nio/ByteBufferImpl.java, java/nio/CharBufferImpl.java, java/nio/DoubleBufferImpl.java, java/nio/FloatBufferImpl.java, java/nio/IntBufferImpl.java, java/nio/LongBufferImpl.java, java/nio/ShortBufferImpl.java: Moved from gnu/java/nio. * java/nio/Makefile.am (EXTRA_DIST): Added moved files.
Diffstat (limited to 'java/nio/LongBuffer.java')
-rw-r--r--java/nio/LongBuffer.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/java/nio/LongBuffer.java b/java/nio/LongBuffer.java
index fd4bfe1f2..67f390688 100644
--- a/java/nio/LongBuffer.java
+++ b/java/nio/LongBuffer.java
@@ -35,9 +35,8 @@ this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */
-package java.nio;
-import gnu.java.nio.LongBufferImpl;
+package java.nio;
/**
* @since 1.4
@@ -45,8 +44,8 @@ import gnu.java.nio.LongBufferImpl;
public abstract class LongBuffer extends Buffer
implements Comparable
{
- protected int array_offset;
- protected long [] backing_buffer;
+ int array_offset;
+ long[] backing_buffer;
protected LongBuffer (int capacity, int limit, int position, int mark)
{
@@ -54,7 +53,7 @@ public abstract class LongBuffer extends Buffer
array_offset = 0;
}
- protected LongBuffer (long[] buffer, int offset, int capacity, int limit, int position, int mark)
+ LongBuffer (long[] buffer, int offset, int capacity, int limit, int position, int mark)
{
super (capacity, limit, position, mark);
this.backing_buffer = buffer;