CharBufferImpl.java: Inline super constructor.
* java/nio/CharBufferImpl.java: Inline super constructor. * java/nio/DoubleBufferImpl.java: Likewise. * java/nio/FloatBufferImpl.java: Likewise. * java/nio/IntBufferImpl.java: Likewise. * java/nio/LongBufferImpl.java: Likewise. * java/nio/ShortBufferImpl.java: Likewise. * java/nio/CharBuffer.java: Remove unused constructor. * java/nio/DoubleBuffer.java: Likewise. * java/nio/FloatBuffer.java: Likewise. * java/nio/IntBuffer.java: Likewise. * java/nio/LongBuffer.java: Likewise. * java/nio/ShortBuffer.java: Likewise. From-SVN: r77916
This commit is contained in:
parent
3e9b6cf4e0
commit
cf68bacaad
@ -1,3 +1,18 @@
|
||||
2004-02-16 Per Bothner <per@bothner.com>
|
||||
|
||||
* java/nio/CharBufferImpl.java: Inline super constructor.
|
||||
* java/nio/DoubleBufferImpl.java: Likewise.
|
||||
* java/nio/FloatBufferImpl.java: Likewise.
|
||||
* java/nio/IntBufferImpl.java: Likewise.
|
||||
* java/nio/LongBufferImpl.java: Likewise.
|
||||
* java/nio/ShortBufferImpl.java: Likewise.
|
||||
* java/nio/CharBuffer.java: Remove unused constructor.
|
||||
* java/nio/DoubleBuffer.java: Likewise.
|
||||
* java/nio/FloatBuffer.java: Likewise.
|
||||
* java/nio/IntBuffer.java: Likewise.
|
||||
* java/nio/LongBuffer.java: Likewise.
|
||||
* java/nio/ShortBuffer.java: Likewise.
|
||||
|
||||
2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
|
||||
|
||||
* java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
|
||||
|
@ -53,13 +53,6 @@ public abstract class CharBuffer extends Buffer
|
||||
array_offset = 0;
|
||||
}
|
||||
|
||||
CharBuffer (char[] buffer, int offset, int capacity, int limit, int position, int mark)
|
||||
{
|
||||
super (capacity, limit, position, mark);
|
||||
this.backing_buffer = buffer;
|
||||
this.array_offset = offset;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allocates a new <code>CharBuffer</code> object with a given capacity.
|
||||
*/
|
||||
|
@ -52,7 +52,9 @@ final class CharBufferImpl extends CharBuffer
|
||||
|
||||
CharBufferImpl (char[] buffer, int offset, int capacity, int limit, int position, int mark, boolean readOnly)
|
||||
{
|
||||
super (buffer, offset, capacity, limit, position, mark);
|
||||
super (capacity, limit, position, mark);
|
||||
this.backing_buffer = buffer;
|
||||
this.array_offset = offset;
|
||||
this.readOnly = readOnly;
|
||||
}
|
||||
|
||||
|
@ -53,13 +53,6 @@ public abstract class DoubleBuffer extends Buffer
|
||||
array_offset = 0;
|
||||
}
|
||||
|
||||
DoubleBuffer (double[] buffer, int offset, int capacity, int limit, int position, int mark)
|
||||
{
|
||||
super (capacity, limit, position, mark);
|
||||
this.backing_buffer = buffer;
|
||||
this.array_offset = offset;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allocates a new <code>DoubleBuffer</code> object with a given capacity.
|
||||
*/
|
||||
|
@ -52,7 +52,9 @@ final class DoubleBufferImpl extends DoubleBuffer
|
||||
|
||||
DoubleBufferImpl (double[] buffer, int offset, int capacity, int limit, int position, int mark, boolean readOnly)
|
||||
{
|
||||
super (buffer, offset, capacity, limit, position, mark);
|
||||
super (capacity, limit, position, mark);
|
||||
this.backing_buffer = buffer;
|
||||
this.array_offset = offset;
|
||||
this.readOnly = readOnly;
|
||||
}
|
||||
|
||||
|
@ -53,13 +53,6 @@ public abstract class FloatBuffer extends Buffer
|
||||
array_offset = 0;
|
||||
}
|
||||
|
||||
FloatBuffer (float[] buffer, int offset, int capacity, int limit, int position, int mark)
|
||||
{
|
||||
super (capacity, limit, position, mark);
|
||||
this.backing_buffer = buffer;
|
||||
this.array_offset = offset;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allocates a new <code>FloatBuffer</code> object with a given capacity.
|
||||
*/
|
||||
|
@ -52,7 +52,9 @@ final class FloatBufferImpl extends FloatBuffer
|
||||
|
||||
FloatBufferImpl (float[] buffer, int offset, int capacity, int limit, int position, int mark, boolean readOnly)
|
||||
{
|
||||
super (buffer, offset, capacity, limit, position, mark);
|
||||
super (capacity, limit, position, mark);
|
||||
this.backing_buffer = buffer;
|
||||
this.array_offset = offset;
|
||||
this.readOnly = readOnly;
|
||||
}
|
||||
|
||||
|
@ -53,13 +53,6 @@ public abstract class IntBuffer extends Buffer
|
||||
array_offset = 0;
|
||||
}
|
||||
|
||||
IntBuffer (int[] buffer, int offset, int capacity, int limit, int position, int mark)
|
||||
{
|
||||
super (capacity, limit, position, mark);
|
||||
this.backing_buffer = buffer;
|
||||
this.array_offset = offset;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allocates a new <code>IntBuffer</code> object with a given capacity.
|
||||
*/
|
||||
|
@ -52,7 +52,9 @@ final class IntBufferImpl extends IntBuffer
|
||||
|
||||
IntBufferImpl (int[] buffer, int offset, int capacity, int limit, int position, int mark, boolean readOnly)
|
||||
{
|
||||
super (buffer, offset, capacity, limit, position, mark);
|
||||
super (capacity, limit, position, mark);
|
||||
this.backing_buffer = buffer;
|
||||
this.array_offset = offset;
|
||||
this.readOnly = readOnly;
|
||||
}
|
||||
|
||||
|
@ -53,13 +53,6 @@ public abstract class LongBuffer extends Buffer
|
||||
array_offset = 0;
|
||||
}
|
||||
|
||||
LongBuffer (long[] buffer, int offset, int capacity, int limit, int position, int mark)
|
||||
{
|
||||
super (capacity, limit, position, mark);
|
||||
this.backing_buffer = buffer;
|
||||
this.array_offset = offset;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allocates a new <code>LongBuffer</code> object with a given capacity.
|
||||
*/
|
||||
|
@ -52,7 +52,9 @@ final class LongBufferImpl extends LongBuffer
|
||||
|
||||
LongBufferImpl (long[] buffer, int offset, int capacity, int limit, int position, int mark, boolean readOnly)
|
||||
{
|
||||
super (buffer, offset, capacity, limit, position, mark);
|
||||
super (capacity, limit, position, mark);
|
||||
this.backing_buffer = buffer;
|
||||
this.array_offset = offset;
|
||||
this.readOnly = readOnly;
|
||||
}
|
||||
|
||||
|
@ -53,13 +53,6 @@ public abstract class ShortBuffer extends Buffer
|
||||
array_offset = 0;
|
||||
}
|
||||
|
||||
ShortBuffer (short[] buffer, int offset, int capacity, int limit, int position, int mark)
|
||||
{
|
||||
super (capacity, limit, position, mark);
|
||||
this.backing_buffer = buffer;
|
||||
this.array_offset = offset;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allocates a new <code>ShortBuffer</code> object with a given capacity.
|
||||
*/
|
||||
|
@ -52,7 +52,9 @@ final class ShortBufferImpl extends ShortBuffer
|
||||
|
||||
ShortBufferImpl (short[] buffer, int offset, int capacity, int limit, int position, int mark, boolean readOnly)
|
||||
{
|
||||
super (buffer, offset, capacity, limit, position, mark);
|
||||
super (capacity, limit, position, mark);
|
||||
this.backing_buffer = buffer;
|
||||
this.array_offset = offset;
|
||||
this.readOnly = readOnly;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user