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

Optimize resource delta processing

This commit is contained in:
Anton Leherbauer 2008-03-21 14:14:01 +00:00
parent dd062c1fdd
commit 7aa686b631

View file

@ -6,8 +6,8 @@
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* Rational Software - Initial API and implementation * Rational Software - Initial API and implementation
* Anton Leherbauer (Wind River Systems) * Anton Leherbauer (Wind River Systems)
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.internal.core.model; package org.eclipse.cdt.internal.core.model;
@ -574,7 +574,8 @@ final class DeltaProcessor {
case IResourceDelta.ADDED : case IResourceDelta.ADDED :
if (element != null) { if (element != null) {
elementAdded(element, delta); elementAdded(element, delta);
return element instanceof ICContainer; // no need to traverse further
// return element instanceof ICContainer;
} }
return false; return false;