From 78b7d65cf8f46c45bd0e3393e9504b9bec18768b Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Thu, 6 Sep 2012 14:54:06 -0700 Subject: [PATCH] Cosmetics. --- .../cdt/internal/core/UNCPathConverterImpl.java | 4 ++-- .../org/eclipse/cdt/utils/UNCPathConverter.java | 12 +++++------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/internal/core/UNCPathConverterImpl.java b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/internal/core/UNCPathConverterImpl.java index be40ed0dbdb..fea302dd891 100644 --- a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/internal/core/UNCPathConverterImpl.java +++ b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/internal/core/UNCPathConverterImpl.java @@ -53,8 +53,8 @@ public class UNCPathConverterImpl extends UNCPathConverter { for (IConfigurationElement ce : ext.getConfigurationElements()) { if (ce.getAttribute(CLASS_ATTRIBUTE) != null) { try { - UNCPathConverter converter = (UNCPathConverter) ce - .createExecutableExtension(CLASS_ATTRIBUTE); + UNCPathConverter converter = + (UNCPathConverter) ce.createExecutableExtension(CLASS_ATTRIBUTE); list.add(converter); } catch (Exception e) { CCorePlugin.log(e); diff --git a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/UNCPathConverter.java b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/UNCPathConverter.java index 91de1214d5e..783a82a0f9a 100644 --- a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/UNCPathConverter.java +++ b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/UNCPathConverter.java @@ -19,16 +19,16 @@ import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.Path; /** - * Base class for the UNC path conversion extension point. UNC paths are used to represent remote include - * locations, and this class is used to translate between UNC, IPath and URI representations. By default, - * paths are translated into the equivalent local file version to preserve existing behavior, but by providing - * an appropriate extension, these paths can be mapped into locations on a remote system. + * Base class for the UNC path conversion extension point. UNC paths are used to represent remote + * include locations, and this class is used to translate between UNC, IPath and URI + * representations. By default, paths are translated into the equivalent local file version to + * preserve existing behavior, but by providing an appropriate extension, these paths can be mapped + * into locations on a remote system. * * May be subclassed by clients. * @since 5.3 */ public abstract class UNCPathConverter { - /** * Get the instance of the class that combines the registered converters. * @return instance of UNCPathConverter @@ -37,7 +37,6 @@ public abstract class UNCPathConverter { return UNCPathConverterImpl.getInstance(); } - /** * Test if the string path is in UNC format. * @@ -56,7 +55,6 @@ public abstract class UNCPathConverter { return false; } - /** * Convert a URI to an IPath. * Resolves to local path if possible, including using EFS where required.