mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PropertyElementTest fixed
This commit is contained in:
@@ -179,7 +179,7 @@ public abstract class CachingChildrenTreeNode <Value> extends AbstractTreeNode<V
|
||||
final int newIndex = getIndexOfPointerToTheSameValue(oldInstance);
|
||||
if (newIndex >= 0) {
|
||||
final CachingChildrenTreeNode newInstance = myChildren.get(newIndex);
|
||||
newInstance.copyFromNewInstance(oldInstance);
|
||||
oldInstance.copyFromNewInstance(newInstance);
|
||||
oldInstance.setValue(newInstance.getValue());
|
||||
myChildren.set(newIndex, oldInstance);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user