/[classpath]/classpath/java/nio/ByteBufferImpl.java
ViewVC logotype

Diff of /classpath/java/nio/ByteBufferImpl.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by robilad, Wed Jun 16 08:57:10 2004 UTC revision 1.8 by jfrijters, Mon Dec 27 14:35:30 2004 UTC
# Line 112  final class ByteBufferImpl extends ByteB Line 112  final class ByteBufferImpl extends ByteB
112    
113    public ByteBuffer compact ()    public ByteBuffer compact ()
114    {    {
115        checkIfReadOnly();
116        mark = -1;
117      int pos = position();      int pos = position();
118      if (pos > 0)      if (pos > 0)
119        {        {

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26