tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r699634 - /tomcat/trunk/java/org/apache/catalina/ha/deploy/WarWatcher.java
Date Sat, 27 Sep 2008 13:10:29 GMT
Author: markt
Date: Sat Sep 27 06:10:29 2008
New Revision: 699634

URL: http://svn.apache.org/viewvc?rev=699634&view=rev
Log:
Fix minor memory leak found by find bugs.

Modified:
    tomcat/trunk/java/org/apache/catalina/ha/deploy/WarWatcher.java

Modified: tomcat/trunk/java/org/apache/catalina/ha/deploy/WarWatcher.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ha/deploy/WarWatcher.java?rev=699634&r1=699633&r2=699634&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/ha/deploy/WarWatcher.java (original)
+++ tomcat/trunk/java/org/apache/catalina/ha/deploy/WarWatcher.java Sat Sep 27 06:10:29 2008
@@ -94,7 +94,7 @@
             } else if (check == -1) {
                 listener.fileRemoved(info.getWar());
                 //no need to keep in memory
-                currentStatus.remove(info.getWar());
+                currentStatus.remove(info.getWar().getAbsolutePath());
             }
         }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message