mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix SOE (default implementation as an interface constant)
This commit is contained in:
+6
-4
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
* Copyright 2000-2012 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -69,9 +69,11 @@ public class FilteringTreeStructure extends AbstractTreeStructure {
|
||||
for (Object d : delegates) {
|
||||
FilteringNode n = new FilteringNode(node, d);
|
||||
boolean isDuplicate = myDescriptors2Nodes.containsKey(d);
|
||||
myDescriptors2Nodes.put(d, n);
|
||||
nodes.add(n);
|
||||
addToCache(n, isDuplicate);
|
||||
if (!isDuplicate) {
|
||||
myDescriptors2Nodes.put(d, n);
|
||||
nodes.add(n);
|
||||
addToCache(n, isDuplicate);
|
||||
}
|
||||
}
|
||||
myNodesCache.put(node, nodes);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user