mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
5a63896b65
commit
de6aff9ca0
1 changed files with 1 additions and 2 deletions
|
@ -117,8 +117,7 @@ public class RefactoringASTCache implements IDisposable {
|
|||
public synchronized IIndex getIndex() throws CoreException, OperationCanceledException {
|
||||
Assert.isTrue(!fDisposed, "RefactoringASTCache is already disposed"); //$NON-NLS-1$
|
||||
if (fIndex == null) {
|
||||
ICProject[] projects;
|
||||
projects = CoreModel.getDefault().getCModel().getCProjects();
|
||||
ICProject[] projects = CoreModel.getDefault().getCModel().getCProjects();
|
||||
IIndex index = CCorePlugin.getIndexManager().getIndex(projects);
|
||||
try {
|
||||
index.acquireReadLock();
|
||||
|
|
Loading…
Add table
Reference in a new issue