1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 300161 - PathEntryManager.processDelta() does not process all deltas

This commit is contained in:
Anton Leherbauer 2010-01-20 13:14:15 +00:00
parent 4191843279
commit 5aac59eb4b

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2009 QNX Software Systems and others.
* Copyright (c) 2000, 2010 QNX Software Systems and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@ -1414,11 +1414,13 @@ public class PathEntryManager implements IPathEntryStoreListener, IElementChange
}
if (type == ICElement.C_MODEL || type == ICElement.C_CCONTAINER || type == ICElement.C_PROJECT) {
ICElementDelta[] affectedChildren = delta.getAffectedChildren();
boolean result = false;
for (ICElementDelta element2 : affectedChildren) {
if (processDelta(element2) == true) {
return true;
if (processDelta(element2)) {
result = true;
}
}
return result;
}
return false;
}