From eae67a71a452d428ae40a4025d0ad640f4ad566d Mon Sep 17 00:00:00 2001 From: Alain Magloire Date: Wed, 25 Aug 2004 13:10:00 +0000 Subject: [PATCH] 2004-08-25 Alain Magloire Workaround for PR 72435, Patch From Bogdan * index/org/eclipse/cdt/internal/core/Util.java --- core/org.eclipse.cdt.core/index/ChangeLog | 6 ++++++ .../index/org/eclipse/cdt/internal/core/Util.java | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/core/org.eclipse.cdt.core/index/ChangeLog b/core/org.eclipse.cdt.core/index/ChangeLog index 100e02e2829..ebf7941831e 100644 --- a/core/org.eclipse.cdt.core/index/ChangeLog +++ b/core/org.eclipse.cdt.core/index/ChangeLog @@ -1,3 +1,9 @@ +2004-08-25 Alain Magloire + + Workaround for PR 72435, Patch From Bogdan + + * index/org/eclipse/cdt/internal/core/Util.java + 2004-08-19 Bogdan Gheorghe Fix for Bug 71500: [Indexer] all headers get indexed on project open diff --git a/core/org.eclipse.cdt.core/index/org/eclipse/cdt/internal/core/Util.java b/core/org.eclipse.cdt.core/index/org/eclipse/cdt/internal/core/Util.java index e888b172072..04d279ec9ca 100644 --- a/core/org.eclipse.cdt.core/index/org/eclipse/cdt/internal/core/Util.java +++ b/core/org.eclipse.cdt.core/index/org/eclipse/cdt/internal/core/Util.java @@ -346,8 +346,8 @@ public class Util { public final static boolean isExcluded(IResource resource, char[][] exclusionPatterns) { IPath path = resource.getFullPath(); // ensure that folders are only excluded if all of their children are excluded - if (resource.getType() == IResource.FOLDER) - path = path.append("*"); //$NON-NLS-1$ + //if (resource.getType() == IResource.FOLDER) + // path = path.append("*"); //$NON-NLS-1$ return isExcluded(path, exclusionPatterns); }