Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2008-11-24 05:22:08 +0000
committerSergey Prigogin2008-11-24 05:22:08 +0000
commit585e6cccbdcb1dcbafe2536155ae1aeb075b4420 (patch)
treeb173606d1bd78301a5c3c2a26a0d8d10255298c9 /core/org.eclipse.cdt.ui.tests
parent2cbb09f6e7b71f2410c0344225763517f8e1dc34 (diff)
downloadorg.eclipse.cdt-585e6cccbdcb1dcbafe2536155ae1aeb075b4420.tar.gz
org.eclipse.cdt-585e6cccbdcb1dcbafe2536155ae1aeb075b4420.tar.xz
org.eclipse.cdt-585e6cccbdcb1dcbafe2536155ae1aeb075b4420.zip
Fixed a compiler warning.
Diffstat (limited to 'core/org.eclipse.cdt.ui.tests')
-rw-r--r--core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/selection/ResolveBindingTests.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/selection/ResolveBindingTests.java b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/selection/ResolveBindingTests.java
index acac50cd312..1b2c22031e1 100644
--- a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/selection/ResolveBindingTests.java
+++ b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/selection/ResolveBindingTests.java
@@ -81,7 +81,7 @@ public class ResolveBindingTests extends BaseUITestCase {
return name;
}
- private void checkBinding(IASTName name, Class clazz) {
+ private void checkBinding(IASTName name, Class<?> clazz) {
IBinding binding;
binding= name.resolveBinding();
assertNotNull("Cannot resolve binding", binding);
@@ -102,7 +102,6 @@ public class ResolveBindingTests extends BaseUITestCase {
// ++var; // r1
// ++ns::var; // r2
// }
-
public void testNamespaceVarBinding() throws Exception {
String content = readTaggedComment("namespace-var-test");
IFile file= createFile(fCProject.getProject(), "nsvar.cpp", content);

Back to the top