Author: j16sdiz
Date: 2008-08-22 08:38:58 +0000 (Fri, 22 Aug 2008)
New Revision: 22088

Modified:
   trunk/freenet/src/freenet/node/Node.java
Log:
use Closer

Modified: trunk/freenet/src/freenet/node/Node.java
===================================================================
--- trunk/freenet/src/freenet/node/Node.java    2008-08-22 08:38:38 UTC (rev 
22087)
+++ trunk/freenet/src/freenet/node/Node.java    2008-08-22 08:38:58 UTC (rev 
22088)
@@ -806,12 +806,7 @@
                        oldBootID = -1;
                        // If we have an error in reading, *or in writing*, we 
don't reliably know the last boot ID.
                } finally {
-                       try {
-                               if(raf != null)
-                                       raf.close();
-                       } catch (IOException e) {
-                               // Ignore
-                       }
+                       Closer.close(raf);
                }
                lastBootID = oldBootID;



Reply via email to