mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 09:16:02 +02:00
Cosmetics.
This commit is contained in:
parent
7660c4881e
commit
d62945a3d9
3 changed files with 9 additions and 18 deletions
|
@ -172,9 +172,6 @@ public class IndexFileSet implements IIndexFileSet {
|
||||||
return invert;
|
return invert;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.index.IIndexFileSet#invert()
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IIndexFileSet invert() {
|
public IIndexFileSet invert() {
|
||||||
if (fInverse == null) {
|
if (fInverse == null) {
|
||||||
|
|
|
@ -44,9 +44,6 @@ public class PDOMProjectIndexLocationConverter implements IIndexLocationConverte
|
||||||
fIgnoreExternal= ignoreWSExternal;
|
fIgnoreExternal= ignoreWSExternal;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.internal.core.pdom.dom.IIndexLocationConverter#fromInternalFormat(java.lang.String)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public IIndexFileLocation fromInternalFormat(String raw) {
|
public IIndexFileLocation fromInternalFormat(String raw) {
|
||||||
String fullPath = null;
|
String fullPath = null;
|
||||||
|
@ -54,7 +51,7 @@ public class PDOMProjectIndexLocationConverter implements IIndexLocationConverte
|
||||||
if (raw.startsWith(EXTERNAL)) {
|
if (raw.startsWith(EXTERNAL)) {
|
||||||
try {
|
try {
|
||||||
uri = new URI(raw.substring(EXTERNAL.length()));
|
uri = new URI(raw.substring(EXTERNAL.length()));
|
||||||
} catch(URISyntaxException use) {
|
} catch (URISyntaxException e) {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (raw.startsWith(WS)) {
|
if (raw.startsWith(WS)) {
|
||||||
|
@ -71,9 +68,6 @@ public class PDOMProjectIndexLocationConverter implements IIndexLocationConverte
|
||||||
return uri == null ? null : new IndexFileLocation(uri, fullPath);
|
return uri == null ? null : new IndexFileLocation(uri, fullPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.internal.core.pdom.dom.IIndexLocationConverter#toRaw(java.net.URI)
|
|
||||||
*/
|
|
||||||
@Override
|
@Override
|
||||||
public String toInternalFormat(IIndexFileLocation location) {
|
public String toInternalFormat(IIndexFileLocation location) {
|
||||||
String fullPath= location.getFullPath();
|
String fullPath= location.getFullPath();
|
||||||
|
|
Loading…
Add table
Reference in a new issue