1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 09:25:31 +02:00

Added assert

This commit is contained in:
John Cortell 2009-09-22 18:33:19 +00:00
parent 6f11c1b97f
commit 764537d049

View file

@ -619,6 +619,8 @@ public class AbstractCachingVMProvider extends AbstractVMProvider
}
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$
// Some children were not found in the cache, create separate
// proxy updates for the continuous ranges of missing children.
List<IChildrenUpdate> partialUpdates = new ArrayList<IChildrenUpdate>(2);