CharBufferImpl.java: Inline super constructor.
authorPer Bothner <per@bothner.com>
Mon, 16 Feb 2004 19:53:27 +0000 (11:53 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Mon, 16 Feb 2004 19:53:27 +0000 (11:53 -0800)
* 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

13 files changed:
libjava/ChangeLog
libjava/java/nio/CharBuffer.java
libjava/java/nio/CharBufferImpl.java
libjava/java/nio/DoubleBuffer.java
libjava/java/nio/DoubleBufferImpl.java
libjava/java/nio/FloatBuffer.java
libjava/java/nio/FloatBufferImpl.java
libjava/java/nio/IntBuffer.java
libjava/java/nio/IntBufferImpl.java
libjava/java/nio/LongBuffer.java
libjava/java/nio/LongBufferImpl.java
libjava/java/nio/ShortBuffer.java
libjava/java/nio/ShortBufferImpl.java

index e3239f837ad9377345cf80b99ea8f9a9c6be3509..42af2973e4205c9cd33f1fb71d860e8537f76f5a 100644 (file)
@@ -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
index 15a53570979241a877b7eff86b5163a68e5ae5a6..3d488bad345c8ff1562866fcfb6ab273d11de867 100644 (file)
@@ -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.
    */
index d22b4d1b2bb78b22dd87794510b5b3a389feeb0d..aacc2cb26582af252d479758411201427601f090 100644 (file)
@@ -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;
   }
   
index 644f33ba6d598b608bbd1dde0db2ac231d26eb38..d669c2138c4e48187fe721a88257763703efa2ba 100644 (file)
@@ -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.
    */
index 8dacec9be34b75d0f24ceb422a1a643774b35d17..2c425dceb30ab7f82766a0de5f9f35039fb61454 100644 (file)
@@ -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;
   }
   
index 5fcfc8e6ec562b7431fd3a95d22826607564547b..0c7b04dd0f5e7f8c594c6667c3a93a624076022a 100644 (file)
@@ -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.
    */
index db0f52bb412c891470812bb30b149d898031ce2d..06584132499d4e25df84d3fb278b5a14f0a63cbb 100644 (file)
@@ -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;
   }
   
index 79167859541e9496290dc1fc4b898dad002d70f6..469a344ea7109015f1226319b9948710326e4700 100644 (file)
@@ -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.
    */
index ec444c014c376c6ce530f8a0b986432fd4c77b7c..f142827104a026b632ef9e1fde08d7c0b9f9d612 100644 (file)
@@ -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;
   }
   
index a39a83d94e8723c1c2672d190b6b4eafd98f9757..712e0b3b59a6e5a9da34e1b07c344f9bdc5eea4d 100644 (file)
@@ -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.
    */
index b4fb3de5f8a77507ea068e1855ab3865856e3755..7f99f336686767cf33b7f8569a1175e48dda32d8 100644 (file)
@@ -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;
   }
   
index 6bd3de9c75568054aa455c932c64a8bb90c03e8d..61097d04dd957cf9bca9cc5f1e43fbae7df7acc4 100644 (file)
@@ -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.
    */
index 5f6c60137a12fb86eab07580f4a5ea64fbb47473..938d5ce89d391ef67e46c1d7b611915cacd418e1 100644 (file)
@@ -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;
   }