[freenet-cvs] r19693 - trunk/freenet/src/freenet/support/io

nextgens at freenetproject.org nextgens at freenetproject.org
Sat May 3 11:45:09 UTC 2008


Author: nextgens
Date: 2008-05-03 11:45:09 +0000 (Sat, 03 May 2008)
New Revision: 19693

Modified:
   trunk/freenet/src/freenet/support/io/PaddedEphemerallyEncryptedBucket.java
Log:
Some paranoia (flush() before close() just in case a BufferedOutputStream is catching exceptions)

Modified: trunk/freenet/src/freenet/support/io/PaddedEphemerallyEncryptedBucket.java
===================================================================
--- trunk/freenet/src/freenet/support/io/PaddedEphemerallyEncryptedBucket.java	2008-05-03 11:25:50 UTC (rev 19692)
+++ trunk/freenet/src/freenet/support/io/PaddedEphemerallyEncryptedBucket.java	2008-05-03 11:45:09 UTC (rev 19693)
@@ -194,6 +194,7 @@
 				}
 			} finally {
 				closed = true;
+				out.flush();
 				out.close();
 			}
 		}




More information about the cvs mailing list