From f6eebfa0231f2dea564c9224bbd1a024f07901b8 Mon Sep 17 00:00:00 2001 From: John Cortell Date: Thu, 14 Jan 2010 22:29:14 +0000 Subject: [PATCH] Avoid redundant search through the common locator. Didn't realize that the common containers are automatically added to every launch config locator. --- .../src/org/eclipse/cdt/core/ISourceFinder.java | 13 ++++++++----- .../internal/core/srcfinder/CSourceFinder.java | 8 ++++++-- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ISourceFinder.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ISourceFinder.java index d762b59a345..adf6f11f5e5 100644 --- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ISourceFinder.java +++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ISourceFinder.java @@ -18,7 +18,7 @@ import org.eclipse.core.runtime.IPath; /** * This interface is available for a {@link Binary} via the adapter mechanism. It is used to translate the - * source specification of a source file that was used to produce the executable to its local counterpart. In + * file specification of a source file that was used to produce the executable to its local counterpart. In * other words, the debug information in the binary tells us what source files where involved in building it. * Such a file specification may be a simple file name, a relative path, or an absolute path that might be * invalid on the local machine (the executable may have been built on another machine). In all cases, the @@ -26,12 +26,12 @@ import org.eclipse.core.runtime.IPath; * end to that search capability. * *

- * In CDT, there is/are: + * CDT has: *