diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2006-05-03 21:33:24 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2006-05-03 21:33:24 +0000 |
commit | 940e4db75683240c9a097b812e973e1009ab56c4 (patch) | |
tree | f8ccf9d28d0187f82242548af232ada92f68a61f /java/nio/ByteBufferImpl.java | |
parent | 480ccb4bfcc622c1ce320c20ce992188187f7573 (diff) | |
download | classpath-940e4db75683240c9a097b812e973e1009ab56c4.tar.gz |
2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
* Merge of HEAD --> generics-branch for the period
2005/05/01 to 2005/05/03 (branch of 0.91 for release)
Diffstat (limited to 'java/nio/ByteBufferImpl.java')
-rw-r--r-- | java/nio/ByteBufferImpl.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/java/nio/ByteBufferImpl.java b/java/nio/ByteBufferImpl.java index 48d715200..cbe627b06 100644 --- a/java/nio/ByteBufferImpl.java +++ b/java/nio/ByteBufferImpl.java @@ -120,13 +120,8 @@ final class ByteBufferImpl extends ByteBuffer int count = remaining(); shiftDown(0, pos, count); position(count); - limit(capacity()); - } - else - { - position(limit()); - limit(capacity()); } + limit(capacity()); return this; } |