Parent Directory | Revision Log | 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 | { | { |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |