mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Replaced an invalid assertion with a comment.
This commit is contained in:
parent
060abcbbfd
commit
f6f269dcf3
1 changed files with 6 additions and 1 deletions
|
@ -634,7 +634,12 @@ public class AbstractCachingVMProvider extends AbstractVMProvider
|
||||||
}
|
}
|
||||||
|
|
||||||
if (childrenMissingFromCache.size() > 0) {
|
if (childrenMissingFromCache.size() > 0) {
|
||||||
assert !entry.fAllChildrenKnown : "If the cache says it knows all the children, how did we end up with unknown children?"; //$NON-NLS-1$
|
// Note: it is possible that entry.fAllChildrenKnown == true at this point.
|
||||||
|
// This can happen if the node's has children implementation returns true
|
||||||
|
// while the actual children update returns with no elements. A node
|
||||||
|
// may do this for optimization reasons. I.e. sometimes it may be more
|
||||||
|
// efficient to ask the user to expand a node to see if it has any
|
||||||
|
// children.
|
||||||
|
|
||||||
// Some children were not found in the cache, create separate
|
// Some children were not found in the cache, create separate
|
||||||
// proxy updates for the continuous ranges of missing children.
|
// proxy updates for the continuous ranges of missing children.
|
||||||
|
|
Loading…
Add table
Reference in a new issue