Revision: 16627
          http://sourceforge.net/p/gate/code/16627
Author:   ggorrell
Date:     2013-04-03 14:27:53 +0000 (Wed, 03 Apr 2013)
Log Message:
-----------
Fixed cleanup: forget the location of the temp directory you've just deleted.

Modified Paths:
--------------
    gate/trunk/plugins/Learning/src/gate/learning/LearningAPIMain.java

Modified: gate/trunk/plugins/Learning/src/gate/learning/LearningAPIMain.java
===================================================================
--- gate/trunk/plugins/Learning/src/gate/learning/LearningAPIMain.java  
2013-04-02 01:21:04 UTC (rev 16626)
+++ gate/trunk/plugins/Learning/src/gate/learning/LearningAPIMain.java  
2013-04-03 14:27:53 UTC (rev 16627)
@@ -1005,6 +1005,7 @@
   public void cleanup() {
     if(applicationTempDir != null && !applicationTempDir.equals(wdResults)) {
       deleteRecursively(applicationTempDir);
+      applicationTempDir = null;
     }
   }
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to