diff options
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);
}
}
|
