Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2010-04-08 18:49:31 -0400
committeratikhomirov2010-04-08 18:49:31 -0400
commit2a30758e4991e9b1b1d636fd805097949ec76a0a (patch)
tree9d44a786dae12e5082108ff64eff5e646be43ccb
parent1b379aa9ec4b1a63877dc45eac629ef70bd65125 (diff)
downloadorg.eclipse.gmf-tooling-2a30758e4991e9b1b1d636fd805097949ec76a0a.tar.gz
org.eclipse.gmf-tooling-2a30758e4991e9b1b1d636fd805097949ec76a0a.tar.xz
org.eclipse.gmf-tooling-2a30758e4991e9b1b1d636fd805097949ec76a0a.zip
use generics wherever possible
-rw-r--r--tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/setup/annotated/MapDefASetup.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/setup/annotated/MapDefASetup.java b/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/setup/annotated/MapDefASetup.java
index f94d841c7..5e4392a3f 100644
--- a/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/setup/annotated/MapDefASetup.java
+++ b/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/setup/annotated/MapDefASetup.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006 Borland Software Corporation
+ * Copyright (c) 2006, 2010 Borland Software Corporation and others
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
@@ -304,7 +304,7 @@ public class MapDefASetup extends AbstractASetup implements MapDefSource {
if (value == null) {
continue;
}
- if (value instanceof List) {
+ if (value instanceof List<?>) {
for (Object nvalue : (List<?>) value) {
checkNotDomainElement((EObject) nvalue);
}

Back to the top