Update of /cvsroot/monetdb/clients/src/java/src/nl/cwi/monetdb/mcl/net
In directory
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7288/src/nl/cwi/monetdb/mcl/net
Modified Files:
MapiSocket.java
Log Message:
Avoid empty block writes because of calls to flush by close().
Index: MapiSocket.java
===================================================================
RCS file:
/cvsroot/monetdb/clients/src/java/src/nl/cwi/monetdb/mcl/net/MapiSocket.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- MapiSocket.java 27 Aug 2007 12:25:24 -0000 1.7
+++ MapiSocket.java 27 Aug 2007 12:52:10 -0000 1.8
@@ -586,6 +586,12 @@
}
}
}
+
+ public void close() throws IOException {
+ // we don't want the flush() method to be called
(default of
+ // the FilterOutputStream), so we close manually here
+ out.close();
+ }
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins