mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
3548fdb678
commit
78b7d65cf8
2 changed files with 7 additions and 9 deletions
|
@ -53,8 +53,8 @@ public class UNCPathConverterImpl extends UNCPathConverter {
|
||||||
for (IConfigurationElement ce : ext.getConfigurationElements()) {
|
for (IConfigurationElement ce : ext.getConfigurationElements()) {
|
||||||
if (ce.getAttribute(CLASS_ATTRIBUTE) != null) {
|
if (ce.getAttribute(CLASS_ATTRIBUTE) != null) {
|
||||||
try {
|
try {
|
||||||
UNCPathConverter converter = (UNCPathConverter) ce
|
UNCPathConverter converter =
|
||||||
.createExecutableExtension(CLASS_ATTRIBUTE);
|
(UNCPathConverter) ce.createExecutableExtension(CLASS_ATTRIBUTE);
|
||||||
list.add(converter);
|
list.add(converter);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
CCorePlugin.log(e);
|
CCorePlugin.log(e);
|
||||||
|
|
|
@ -19,16 +19,16 @@ import org.eclipse.core.runtime.IPath;
|
||||||
import org.eclipse.core.runtime.Path;
|
import org.eclipse.core.runtime.Path;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base class for the UNC path conversion extension point. UNC paths are used to represent remote include
|
* Base class for the UNC path conversion extension point. UNC paths are used to represent remote
|
||||||
* locations, and this class is used to translate between UNC, IPath and URI representations. By default,
|
* include locations, and this class is used to translate between UNC, IPath and URI
|
||||||
* paths are translated into the equivalent local file version to preserve existing behavior, but by providing
|
* representations. By default, paths are translated into the equivalent local file version to
|
||||||
* an appropriate extension, these paths can be mapped into locations on a remote system.
|
* 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.
|
* May be subclassed by clients.
|
||||||
* @since 5.3
|
* @since 5.3
|
||||||
*/
|
*/
|
||||||
public abstract class UNCPathConverter {
|
public abstract class UNCPathConverter {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the instance of the class that combines the registered converters.
|
* Get the instance of the class that combines the registered converters.
|
||||||
* @return instance of UNCPathConverter
|
* @return instance of UNCPathConverter
|
||||||
|
@ -37,7 +37,6 @@ public abstract class UNCPathConverter {
|
||||||
return UNCPathConverterImpl.getInstance();
|
return UNCPathConverterImpl.getInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test if the string path is in UNC format.
|
* Test if the string path is in UNC format.
|
||||||
*
|
*
|
||||||
|
@ -56,7 +55,6 @@ public abstract class UNCPathConverter {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Convert a URI to an IPath.
|
* Convert a URI to an IPath.
|
||||||
* Resolves to local path if possible, including using EFS where required.
|
* Resolves to local path if possible, including using EFS where required.
|
||||||
|
|
Loading…
Add table
Reference in a new issue