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:
parent
dd062c1fdd
commit
7aa686b631
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue