Update of /cvsroot/jrobin/src/org/jrobin/core
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17677/org/jrobin/core
Modified Files:
RrdNioBackend.java
Log Message:
minor tweaks
Index: RrdNioBackend.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/core/RrdNioBackend.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** RrdNioBackend.java 13 Jul 2004 11:45:39 -0000 1.10
--- RrdNioBackend.java 14 Jul 2004 08:59:55 -0000 1.11
***************
*** 84,88 ****
protected void setLength(long length) throws IOException {
super.setLength(length);
! byteBuffer = file.getChannel().map(FileChannel.MapMode.READ_WRITE, 0, length);
}
--- 84,88 ----
protected void setLength(long length) throws IOException {
super.setLength(length);
! byteBuffer = channel.map(FileChannel.MapMode.READ_WRITE, 0, length);
}
|