mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
a328f88fad
commit
4c002040f2
1 changed files with 6 additions and 9 deletions
|
@ -6,7 +6,7 @@
|
|||
* http://www.eclipse.org/legal/epl-v10.html
|
||||
*
|
||||
* Contributors:
|
||||
* Markus Schorn - initial API and implementation
|
||||
* Markus Schorn - initial API and implementation
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.internal.index.tests;
|
||||
|
||||
|
@ -59,7 +59,6 @@ import org.eclipse.core.runtime.CoreException;
|
|||
import org.eclipse.core.runtime.IAdaptable;
|
||||
|
||||
public class IndexUpdateTests extends IndexTestBase {
|
||||
|
||||
private static final String EXPLICIT = "explicit";
|
||||
private static final String VIRTUAL = "virtual";
|
||||
private static final String PURE_VIRTUAL= "pure-virtual";
|
||||
|
@ -82,9 +81,9 @@ public class IndexUpdateTests extends IndexTestBase {
|
|||
return suite;
|
||||
}
|
||||
|
||||
private ICProject fCppProject= null;
|
||||
private ICProject fCProject= null;
|
||||
private IIndex fIndex= null;
|
||||
private ICProject fCppProject;
|
||||
private ICProject fCProject;
|
||||
private IIndex fIndex;
|
||||
private CharSequence[] fContents;
|
||||
private IFile fFile;
|
||||
private IFile fHeader;
|
||||
|
@ -1285,7 +1284,7 @@ public class IndexUpdateTests extends IndexTestBase {
|
|||
setupFile(2, true);
|
||||
long id1, id2;
|
||||
fIndex.acquireReadLock();
|
||||
try {
|
||||
try {
|
||||
final IIndexBinding binding = findBinding("X");
|
||||
id1= ((PDOMFile) binding.getLocalToFile()).getRecord();
|
||||
} finally {
|
||||
|
@ -1294,7 +1293,7 @@ public class IndexUpdateTests extends IndexTestBase {
|
|||
|
||||
updateFile();
|
||||
fIndex.acquireReadLock();
|
||||
try {
|
||||
try {
|
||||
final IIndexBinding binding = findBinding("X");
|
||||
id2= ((PDOMFile) binding.getLocalToFile()).getRecord();
|
||||
} finally {
|
||||
|
@ -1462,6 +1461,4 @@ public class IndexUpdateTests extends IndexTestBase {
|
|||
fIndex.releaseReadLock();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue