[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Fix for java.nio.ByteBuffer.put(ByteBuffer)
From: |
Florian Weimer |
Subject: |
[cp-patches] Fix for java.nio.ByteBuffer.put(ByteBuffer) |
Date: |
Mon, 09 Aug 2004 12:08:22 +0200 |
There's an obvious type in java.nio.ByteBuffer.put(ByteBuffer). The
implementation is still horribly inefficient, of course, but it mainly
seems to work.
2004-08-09 Florian Weimer <address@hidden>
* java/nio/ByteBuffer.java (put): Fix typo.
--- ByteBuffer.java.~1.18.~ 2004-07-11 09:31:42.000000000 +0200
+++ ByteBuffer.java 2004-08-09 08:33:20.000000000 +0200
@@ -165,7 +165,7 @@
{
byte[] toPut = new byte [src.remaining ()];
src.get (toPut);
- src.put (toPut);
+ put (toPut);
}
return this;
- [cp-patches] Fix for java.nio.ByteBuffer.put(ByteBuffer),
Florian Weimer <=