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()) {
|
||||
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);
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue