mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
SmartPointerManagerImpl: use identity pointer comparison (IDEA-CR-1367)
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user