From 5dd45e2b71c37d376d7e47518ca9eaa6f28ccdfa Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Tue, 20 Jan 2009 02:42:11 +0000 Subject: [PATCH] Comment adjustments. --- .../cdt/core/index/IndexLocationFactory.java | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/index/IndexLocationFactory.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/index/IndexLocationFactory.java index 4db7a6f2133..ab211565745 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/index/IndexLocationFactory.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/index/IndexLocationFactory.java @@ -8,6 +8,7 @@ * Contributors: * Andrew Ferguson (Symbian) - initial API and implementation * Markus Schorn (Wind River Systems) + * Sergey Prigogin (Google) *******************************************************************************/ package org.eclipse.cdt.core.index; @@ -81,7 +82,7 @@ public class IndexLocationFactory { } catch (CoreException e) { } } - return path; + return path; } /** @@ -103,9 +104,11 @@ public class IndexLocationFactory { *

* N.B. As this searches the workspace, following links and potentially reading from alternate * file systems, this method may be expensive. - * @param cproject the ICProject to prefer when resolving external includes to workspace resources (may be null) + * @param cproject the ICProject to prefer when resolving external includes to workspace + * resources (may be null) * @param absolutePath - * @return an IIndexFileLocation for the specified resource, containing a workspace relative path if possible. + * @return an IIndexFileLocation for the specified resource, containing a workspace relative + * path if possible. */ public static IIndexFileLocation getIFLExpensive(ICProject cproject, String absolutePath) { final IProject preferredProject= cproject == null ? null : cproject.getProject(); @@ -135,8 +138,8 @@ public class IndexLocationFactory { } /** - * Returns an IIndexFileLocation for the specified workspace file, or null if it does not - * have a location. + * Returns an IIndexFileLocation for the specified workspace file, or null + * if it does not have a location. * @param file * @return an IIndexFileLocation for the specified workspace file */