mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
97eb17b5ad
commit
0b7f4acca3
1 changed files with 7 additions and 4 deletions
|
@ -37,11 +37,13 @@ public class WritablePDOM extends PDOM implements IWritableIndexFragment {
|
||||||
private boolean fCreatedFromScratch= false;
|
private boolean fCreatedFromScratch= false;
|
||||||
private ASTFilePathResolver fPathResolver;
|
private ASTFilePathResolver fPathResolver;
|
||||||
|
|
||||||
public WritablePDOM(File dbPath, IIndexLocationConverter locationConverter, Map<String, IPDOMLinkageFactory> linkageFactoryMappings) throws CoreException {
|
public WritablePDOM(File dbPath, IIndexLocationConverter locationConverter,
|
||||||
|
Map<String, IPDOMLinkageFactory> linkageFactoryMappings) throws CoreException {
|
||||||
this(dbPath, locationConverter, ChunkCache.getSharedInstance(), linkageFactoryMappings);
|
this(dbPath, locationConverter, ChunkCache.getSharedInstance(), linkageFactoryMappings);
|
||||||
}
|
}
|
||||||
|
|
||||||
public WritablePDOM(File dbPath, IIndexLocationConverter locationConverter, ChunkCache cache, Map<String, IPDOMLinkageFactory> linkageFactoryMappings) throws CoreException {
|
public WritablePDOM(File dbPath, IIndexLocationConverter locationConverter, ChunkCache cache, Map<String,
|
||||||
|
IPDOMLinkageFactory> linkageFactoryMappings) throws CoreException {
|
||||||
super(dbPath, locationConverter, cache, linkageFactoryMappings);
|
super(dbPath, locationConverter, cache, linkageFactoryMappings);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,7 +76,8 @@ public class WritablePDOM extends PDOM implements IWritableIndexFragment {
|
||||||
fEvent.fFilesWritten.add(location);
|
fEvent.fFilesWritten.add(location);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void clearFile(IIndexFragmentFile file, Collection<IIndexFileLocation> contextsRemoved) throws CoreException {
|
public void clearFile(IIndexFragmentFile file, Collection<IIndexFileLocation> contextsRemoved)
|
||||||
|
throws CoreException {
|
||||||
assert file.getIndexFragment() == this;
|
assert file.getIndexFragment() == this;
|
||||||
((PDOMFile) file).clear(contextsRemoved);
|
((PDOMFile) file).clear(contextsRemoved);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue