Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leherbauer2010-01-20 13:13:57 +0000
committerAnton Leherbauer2010-01-20 13:13:57 +0000
commit9cdf044a1974e8becf6a0f36f2b81fdcf31d1c6c (patch)
treece78a194274b7750ec78bb7d96b9aec464b729f3
parentaab0c6d8e352acebd40d9a5ec4f63307b302ee0e (diff)
downloadorg.eclipse.cdt-9cdf044a1974e8becf6a0f36f2b81fdcf31d1c6c.tar.gz
org.eclipse.cdt-9cdf044a1974e8becf6a0f36f2b81fdcf31d1c6c.tar.xz
org.eclipse.cdt-9cdf044a1974e8becf6a0f36f2b81fdcf31d1c6c.zip
Bug 300161 - PathEntryManager.processDelta() does not process all deltas
-rw-r--r--core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/PathEntryManager.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/PathEntryManager.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/PathEntryManager.java
index fc34af57e57..4668358fa7c 100644
--- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/PathEntryManager.java
+++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/PathEntryManager.java
@@ -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;
}

Back to the top