Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2011-10-18 02:43:47 +0000
committerSergey Prigogin2011-10-18 02:44:41 +0000
commit4c002040f208c04b5b5db61f36b432bd4fbb450b (patch)
tree0437f4ce530c8587ab36874f8ae6535cd150b93e
parenta328f88fad20728101ff27e12bfc7fed19966712 (diff)
downloadorg.eclipse.cdt-4c002040f208c04b5b5db61f36b432bd4fbb450b.tar.gz
org.eclipse.cdt-4c002040f208c04b5b5db61f36b432bd4fbb450b.tar.xz
org.eclipse.cdt-4c002040f208c04b5b5db61f36b432bd4fbb450b.zip
Cosmetics.
-rw-r--r--core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexUpdateTests.java15
1 files changed, 6 insertions, 9 deletions
diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexUpdateTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexUpdateTests.java
index 2f9a59e801a..6a8e8da0adc 100644
--- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexUpdateTests.java
+++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexUpdateTests.java
@@ -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();
}
}
-
}
-

Back to the top