Author: nextgens
Date: 2007-08-14 04:22:17 +0000 (Tue, 14 Aug 2007)
New Revision: 14682

Modified:
   trunk/freenet/src/freenet/pluginmanager/PluginManager.java
Log:
Doh... that will fix the windows-specific issue related to temp file renaming

Modified: trunk/freenet/src/freenet/pluginmanager/PluginManager.java
===================================================================
--- trunk/freenet/src/freenet/pluginmanager/PluginManager.java  2007-08-14 
04:18:57 UTC (rev 14681)
+++ trunk/freenet/src/freenet/pluginmanager/PluginManager.java  2007-08-14 
04:22:17 UTC (rev 14682)
@@ -348,7 +348,7 @@
                                }

                                File finalFile = new File("plugins/" + 
pluginname + ".jar");
-                               if(!FileUtil.writeTo(is, finalFile));
+                               if(!FileUtil.writeTo(is, finalFile))
                                        Logger.error(this, "Failed to rename 
the temporary file into "+finalFile);

                                filename = "*@file://" + 
FileUtil.getCanonicalFile(finalFile);


Reply via email to