diff gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputState.java @ 1060:cc4ec127d666

Remove the elements of an outdated state from cache if its endOfLife method is called. gnv-artifacts/trunk@1143 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 01 Jun 2010 16:54:21 +0000
parents 04967dc9c83f
children 7096a2e13676
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputState.java	Mon May 31 08:20:17 2010 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputState.java	Tue Jun 01 16:54:21 2010 +0000
@@ -560,7 +560,7 @@
     throws StateException
     {
         CacheFactory cf  = CacheFactory.getInstance();
-        String       key = getHash(uuid);
+        String       key = getHash();
 
         if (cf.isInitialized()) {
             log.debug("Using cache - key: " + key);

http://dive4elements.wald.intevation.org