mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-38471 - PCE: ProgressIndicatorBase.checkCanceled
This commit is contained in:
@@ -91,6 +91,10 @@ public class CollectionElementInvocationHandler extends DomInvocationHandler<Abs
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
ElementStub stub = getStub();
|
||||
if (stub != null) {
|
||||
return stub.getName().hashCode() + stub.id;
|
||||
}
|
||||
final XmlElement element = getXmlElement();
|
||||
return element == null ? super.hashCode() : element.hashCode();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user