mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-38267 - CCE: OfflineInspectionRVContentProvider$OfflineProblemDescriptorContainer.areEqual
This commit is contained in:
+3
-1
@@ -234,7 +234,9 @@ public abstract class InspectionRVContentProvider {
|
||||
public boolean accept(Object node) {
|
||||
if (node instanceof RefElementNode) {
|
||||
final RefElementNode refElementNode = (RefElementNode)node;
|
||||
if (finalContainer.areEqual(refElementNode.getUserObject(), finalContainer.getUserObject())) {
|
||||
final Object finalContainerUserObject = finalContainer.getUserObject();
|
||||
if (finalContainerUserObject instanceof RefEntity &&
|
||||
finalContainer.areEqual(refElementNode.getUserObject(), finalContainerUserObject)) {
|
||||
if (firstLevel.get()) {
|
||||
result.set(refElementNode);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user