Parent Directory | Revision Log | Patch
revision 1.14 by jfrijters, Sun Nov 21 12:03:54 2004 UTC | revision 1.15 by jfrijters, Mon Dec 27 14:35:30 2004 UTC | |
---|---|---|
# | Line 186 abstract class DirectByteBufferImpl exte | Line 186 abstract class DirectByteBufferImpl exte |
186 | ||
187 | public ByteBuffer compact() | public ByteBuffer compact() |
188 | { | { |
189 | checkIfReadOnly(); | |
190 | mark = -1; | |
191 | int pos = position(); | int pos = position(); |
192 | if (pos > 0) | if (pos > 0) |
193 | { | { |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |