From: <sa...@us...> - 2003-09-23 13:39:24
|
Update of /cvsroot/jrobin/src/jrobin/core In directory sc8-pr-cvs1:/tmp/cvs-serv13583/jrobin/core Modified Files: RrdDb.java Log Message: BUGFIX: removed problem with the last point int the graph - was NaN in most cases Index: RrdDb.java =================================================================== RCS file: /cvsroot/jrobin/src/jrobin/core/RrdDb.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RrdDb.java 22 Sep 2003 14:57:27 -0000 1.2 --- RrdDb.java 23 Sep 2003 13:39:20 -0000 1.3 *************** *** 553,557 **** public synchronized void dumpXml(String filename) throws IOException, RrdException { ! OutputStream destination = new BufferedOutputStream(new FileOutputStream(filename, false)); dumpXml(destination); destination.close(); --- 553,558 ---- public synchronized void dumpXml(String filename) throws IOException, RrdException { ! // OutputStream destination = new BufferedOutputStream(new FileOutputStream(filename, false)); ! OutputStream destination = new BufferedOutputStream(new FileOutputStream(filename, false)); dumpXml(destination); destination.close(); |