diff options
author | Anton Leherbauer | 2008-03-21 14:14:01 +0000 |
---|---|---|
committer | Anton Leherbauer | 2008-03-21 14:14:01 +0000 |
commit | 7aa686b6317676c9fbe6673beecec5d582cce0b2 (patch) | |
tree | 3e90a8f9dfa1922f9bd66cfdc6ed093cacbf5212 /core | |
parent | dd062c1fdd51acec8b464887be91d857852c617d (diff) | |
download | org.eclipse.cdt-7aa686b6317676c9fbe6673beecec5d582cce0b2.tar.gz org.eclipse.cdt-7aa686b6317676c9fbe6673beecec5d582cce0b2.tar.xz org.eclipse.cdt-7aa686b6317676c9fbe6673beecec5d582cce0b2.zip |
Optimize resource delta processing
Diffstat (limited to 'core')
-rw-r--r-- | core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/DeltaProcessor.java | 7 |
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; |