1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 14:55:41 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2009-08-10 04:22:10 +00:00
parent 01f10e61af
commit 0cfc0bf164

View file

@ -65,8 +65,7 @@ public class WritablePDOM extends PDOM implements IWritableIndexFragment {
fPathResolver= pathResolver;
try {
pdomFile.addNames(names);
}
finally {
} finally {
fPathResolver= origResolver;
}
@ -139,7 +138,6 @@ public class WritablePDOM extends PDOM implements IWritableIndexFragment {
}
}
// remove content where converter returns null
for (PDOMFile file : notConverted) {
file.convertIncludersToUnresolved();
@ -169,11 +167,9 @@ public class WritablePDOM extends PDOM implements IWritableIndexFragment {
}
public PDOMFile getFileForASTPath(int linkageID, String astPath) throws CoreException {
if (fPathResolver != null) {
if (astPath != null) {
if (fPathResolver != null && astPath != null) {
return getFile(linkageID, fPathResolver.resolveASTPath(astPath));
}
}
return null;
}