[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] Fix for java.nio.ByteBuffer.put(ByteBuffer)
From: |
Tom Tromey |
Subject: |
Re: [cp-patches] Fix for java.nio.ByteBuffer.put(ByteBuffer) |
Date: |
13 Aug 2004 17:24:21 -0600 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>>>>> "Florian" == Florian Weimer <address@hidden> writes:
Florian> 2004-08-09 Florian Weimer <address@hidden>
Florian> * java/nio/ByteBuffer.java (put): Fix typo.
This looks good to me. I'm checking it in. I'm also putting in the
same fix for the other *Buffer classes. Full patch appended.
Tom
Index: ChangeLog
from Tom Tromey <address@hidden>
* java/nio/CharBuffer.java (put): Fix typo.
* java/nio/DoubleBuffer.java (put): Fix typo.
* java/nio/FloatBuffer.java (put): Fix typo.
* java/nio/IntBuffer.java (put): Fix typo.
* java/nio/LongBuffer.java (put): Fix typo.
* java/nio/ShortBuffer.java (put): Fix typo.
2004-08-09 Florian Weimer <address@hidden>
* java/nio/ByteBuffer.java (put): Fix typo.
Index: java/nio/ByteBuffer.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/nio/ByteBuffer.java,v
retrieving revision 1.21
diff -u -r1.21 ByteBuffer.java
--- java/nio/ByteBuffer.java 16 Jun 2004 08:57:10 -0000 1.21
+++ java/nio/ByteBuffer.java 13 Aug 2004 23:40:22 -0000
@@ -165,7 +165,7 @@
{
byte[] toPut = new byte [src.remaining ()];
src.get (toPut);
- src.put (toPut);
+ put (toPut);
}
return this;
Index: java/nio/CharBuffer.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/nio/CharBuffer.java,v
retrieving revision 1.21
diff -u -r1.21 CharBuffer.java
--- java/nio/CharBuffer.java 16 Jun 2004 08:57:10 -0000 1.21
+++ java/nio/CharBuffer.java 13 Aug 2004 23:40:22 -0000
@@ -202,7 +202,7 @@
{
char[] toPut = new char [src.remaining ()];
src.get (toPut);
- src.put (toPut);
+ put (toPut);
}
return this;
Index: java/nio/DoubleBuffer.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/nio/DoubleBuffer.java,v
retrieving revision 1.16
diff -u -r1.16 DoubleBuffer.java
--- java/nio/DoubleBuffer.java 16 Jun 2004 08:57:10 -0000 1.16
+++ java/nio/DoubleBuffer.java 13 Aug 2004 23:40:22 -0000
@@ -148,7 +148,7 @@
{
double[] toPut = new double [src.remaining ()];
src.get (toPut);
- src.put (toPut);
+ put (toPut);
}
return this;
Index: java/nio/FloatBuffer.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/nio/FloatBuffer.java,v
retrieving revision 1.16
diff -u -r1.16 FloatBuffer.java
--- java/nio/FloatBuffer.java 16 Jun 2004 08:57:10 -0000 1.16
+++ java/nio/FloatBuffer.java 13 Aug 2004 23:40:22 -0000
@@ -148,7 +148,7 @@
{
float[] toPut = new float [src.remaining ()];
src.get (toPut);
- src.put (toPut);
+ put (toPut);
}
return this;
Index: java/nio/IntBuffer.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/nio/IntBuffer.java,v
retrieving revision 1.16
diff -u -r1.16 IntBuffer.java
--- java/nio/IntBuffer.java 16 Jun 2004 08:57:10 -0000 1.16
+++ java/nio/IntBuffer.java 13 Aug 2004 23:40:22 -0000
@@ -148,7 +148,7 @@
{
int[] toPut = new int [src.remaining ()];
src.get (toPut);
- src.put (toPut);
+ put (toPut);
}
return this;
Index: java/nio/LongBuffer.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/nio/LongBuffer.java,v
retrieving revision 1.16
diff -u -r1.16 LongBuffer.java
--- java/nio/LongBuffer.java 16 Jun 2004 08:57:10 -0000 1.16
+++ java/nio/LongBuffer.java 13 Aug 2004 23:40:22 -0000
@@ -148,7 +148,7 @@
{
long[] toPut = new long [src.remaining ()];
src.get (toPut);
- src.put (toPut);
+ put (toPut);
}
return this;
Index: java/nio/ShortBuffer.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/nio/ShortBuffer.java,v
retrieving revision 1.17
diff -u -r1.17 ShortBuffer.java
--- java/nio/ShortBuffer.java 16 Jun 2004 08:57:10 -0000 1.17
+++ java/nio/ShortBuffer.java 13 Aug 2004 23:40:22 -0000
@@ -148,7 +148,7 @@
{
short[] toPut = new short [src.remaining ()];
src.get (toPut);
- src.put (toPut);
+ put (toPut);
}
return this;