Author: nextgens
Date: 2007-11-29 16:24:43 +0000 (Thu, 29 Nov 2007)
New Revision: 16090
Modified:
trunk/freenet/src/freenet/config/FilePersistentConfig.java
Log:
indent
Modified: trunk/freenet/src/freenet/config/FilePersistentConfig.java
===================================================================
--- trunk/freenet/src/freenet/config/FilePersistentConfig.java 2007-11-29
16:24:16 UTC (rev 16089)
+++ trunk/freenet/src/freenet/config/FilePersistentConfig.java 2007-11-29
16:24:43 UTC (rev 16090)
@@ -136,17 +136,18 @@
protected void innerStore() throws IOException {
SimpleFieldSet fs = exportFieldSet();
if(Logger.shouldLog(Logger.MINOR, this))
- Logger.minor(this, "fs = "+fs);
- FileOutputStream fos = null;
+ Logger.minor(this, "fs = " + fs);
+ FileOutputStream fos = null;
try {
- fos = new FileOutputStream(tempFilename);
- synchronized(this) {
- fs.writeTo(fos);
- }
-
+ fos = new FileOutputStream(tempFilename);
+ synchronized(this) {
+ fs.writeTo(fos);
+ }
+
FileUtil.renameTo(tempFilename, filename);
- } finally {
- Closer.close(fos);
- }
+ }
+ finally {
+ Closer.close(fos);
+ }
}
}