Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leherbauer2008-03-21 14:14:01 +0000
committerAnton Leherbauer2008-03-21 14:14:01 +0000
commit7aa686b6317676c9fbe6673beecec5d582cce0b2 (patch)
tree3e90a8f9dfa1922f9bd66cfdc6ed093cacbf5212 /core/org.eclipse.cdt.core/model/org
parentdd062c1fdd51acec8b464887be91d857852c617d (diff)
downloadorg.eclipse.cdt-7aa686b6317676c9fbe6673beecec5d582cce0b2.tar.gz
org.eclipse.cdt-7aa686b6317676c9fbe6673beecec5d582cce0b2.tar.xz
org.eclipse.cdt-7aa686b6317676c9fbe6673beecec5d582cce0b2.zip
Optimize resource delta processing
Diffstat (limited to 'core/org.eclipse.cdt.core/model/org')
-rw-r--r--core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java
index 3cadc6eb82c..0d0a29d9433 100644
--- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java
+++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java
@@ -6,8 +6,8 @@
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- * Rational Software - Initial API and implementation
- * Anton Leherbauer (Wind River Systems)
+ * Rational Software - Initial API and implementation
+ * Anton Leherbauer (Wind River Systems)
*******************************************************************************/
package org.eclipse.cdt.internal.core.model;
@@ -574,7 +574,8 @@ final class DeltaProcessor {
case IResourceDelta.ADDED :
if (element != null) {
elementAdded(element, delta);
- return element instanceof ICContainer;
+ // no need to traverse further
+// return element instanceof ICContainer;
}
return false;

Back to the top