Merge branch 'GP-0_ryanmkurtz_PR-7510_sethcg_fix-warning'

This commit is contained in:
Ryan Kurtz 2025-02-20 13:10:05 -05:00
commit 93c2a52653
4 changed files with 7 additions and 8 deletions

View file

@ -58,7 +58,7 @@ public class WeakHashMap2<K, V> extends AbstractMap<K, V> {
return false;
}
WeakValue other = (WeakValue) o;
WeakValue<?> other = (WeakValue<?>) o;
return get() == other.get();
}
@ -231,7 +231,7 @@ public class WeakHashMap2<K, V> extends AbstractMap<K, V> {
}
public K reverseGet(V value) {
WeakValue v = WeakValue.create(value, queue);
WeakValue<V> v = WeakValue.create(value, queue);
return reverseHash.get(v);
}