diff options
| author | abranson <andrew.branson@cern.ch> | 2011-08-04 16:08:49 +0200 |
|---|---|---|
| committer | abranson <andrew.branson@cern.ch> | 2011-08-04 16:08:49 +0200 |
| commit | 379ed8a0e133bee650e0acb24f6b743f657a50d0 (patch) | |
| tree | bdcac37cabe3f2f3d40715519b830469dc9e63ad /source/com/c2kernel/utils/SoftCache.java | |
| parent | 0ec8481c10cd8277d84c7c1a785483a0a739e5a0 (diff) | |
Last bit of cleanup honest
New castor and dependent commons libs
Diffstat (limited to 'source/com/c2kernel/utils/SoftCache.java')
| -rw-r--r-- | source/com/c2kernel/utils/SoftCache.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/com/c2kernel/utils/SoftCache.java b/source/com/c2kernel/utils/SoftCache.java index 9c95f2e..ff71222 100644 --- a/source/com/c2kernel/utils/SoftCache.java +++ b/source/com/c2kernel/utils/SoftCache.java @@ -103,8 +103,8 @@ public class SoftCache<K, V> extends AbstractMap<K, V> { * Look for values that have been reaped, and remove their keys from the cache
*/
private void processQueue() {
- SoftValue<?> sv;
- while ((sv = (SoftValue<?>) queue.poll()) != null) {
+ SoftValue<V> sv;
+ while ((sv = (SoftValue<V>) queue.poll()) != null) {
hash.remove(sv.key);
}
}
|
