[Schmitzm-commits] r1549 - trunk/schmitzm-core/src/main/java/de/schmitzm/lang

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Apr 5 16:13:25 CEST 2011


Author: alfonx
Date: 2011-04-05 16:13:22 +0200 (Tue, 05 Apr 2011)
New Revision: 1549

Modified:
   trunk/schmitzm-core/src/main/java/de/schmitzm/lang/TimedHashmap.java
   trunk/schmitzm-core/src/main/java/de/schmitzm/lang/TimedLimitedHashmap.java
Log:


Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/lang/TimedHashmap.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/lang/TimedHashmap.java	2011-04-05 13:45:01 UTC (rev 1548)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/lang/TimedHashmap.java	2011-04-05 14:13:22 UTC (rev 1549)
@@ -79,4 +79,10 @@
 		return timeout;
 	}
 
+	
+	@Override
+	public void clear() {
+		super.clear();
+		if (cleanTask != null) cleanTask.stop();
+	}
 }

Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/lang/TimedLimitedHashmap.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/lang/TimedLimitedHashmap.java	2011-04-05 13:45:01 UTC (rev 1548)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/lang/TimedLimitedHashmap.java	2011-04-05 14:13:22 UTC (rev 1549)
@@ -91,4 +91,11 @@
 		return timeout;
 	}
 
+	@Override
+	public void clear() {
+		super.clear();
+		if (cleanTask != null)
+			cleanTask.stop();
+	}
+
 }



More information about the Schmitzm-commits mailing list