cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r935056 - in /cxf/branches/2.2.x-fixes: ./ common/common/src/main/java/org/apache/cxf/helpers/FileUtils.java
Date Fri, 16 Apr 2010 19:36:07 GMT
Author: dkulp
Date: Fri Apr 16 19:36:06 2010
New Revision: 935056

URL: http://svn.apache.org/viewvc?rev=935056&view=rev
Log:
Merged revisions 935054 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r935054 | dkulp | 2010-04-16 15:32:59 -0400 (Fri, 16 Apr 2010) | 1 line
  
  Don't use the static for the hook
........

Modified:
    cxf/branches/2.2.x-fixes/   (props changed)
    cxf/branches/2.2.x-fixes/common/common/src/main/java/org/apache/cxf/helpers/FileUtils.java

Propchange: cxf/branches/2.2.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.2.x-fixes/common/common/src/main/java/org/apache/cxf/helpers/FileUtils.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/common/common/src/main/java/org/apache/cxf/helpers/FileUtils.java?rev=935056&r1=935055&r2=935056&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/common/common/src/main/java/org/apache/cxf/helpers/FileUtils.java
(original)
+++ cxf/branches/2.2.x-fixes/common/common/src/main/java/org/apache/cxf/helpers/FileUtils.java
Fri Apr 16 19:36:06 2010
@@ -76,10 +76,11 @@ public final class FileUtils {
                 f = new File(s, "cxf-tmp-" + x);
             }
             defaultTempDir = f;
+            final File f2 = f;
             Thread hook = new Thread() {
                 @Override
                 public void run() {
-                    removeDir(defaultTempDir, true);
+                    removeDir(f2, true);
                 }
             };
             Runtime.getRuntime().addShutdownHook(hook);            



Mime
View raw message