SmartPointerManagerImpl: use identity pointer comparison (IDEA-CR-1367)

This commit is contained in:
peter
2015-02-10 14:22:50 +01:00
parent 10ac9c4adc
commit c01613ae0f
@@ -239,7 +239,7 @@ public class SmartPointerManagerImpl extends SmartPointerManager {
info.cleanup();
for (Iterator<PointerReference> iterator = pointers.iterator(); iterator.hasNext(); ) {
if (pointer.equals(iterator.next().get())) {
if (pointer == iterator.next().get()) {
iterator.remove();
return true;
}