Fixed internal deprecation, unchecked generics and unused import warnings.
diff --git a/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/com/foobar/DifferentParser.java b/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/com/foobar/DifferentParser.java
index 219cf15..27bb754 100644
--- a/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/com/foobar/DifferentParser.java
+++ b/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/com/foobar/DifferentParser.java
@@ -16,6 +16,7 @@
 
 import org.eclipse.jst.jsf.contentmodel.annotation.internal.CMAnnotationFileParser;
 
+@SuppressWarnings("deprecation")
 public class DifferentParser extends CMAnnotationFileParser {
 	public DifferentParser(){
 		super();
diff --git a/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/AnnotationHelperTestCases.java b/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/AnnotationHelperTestCases.java
index cf6685f..bca4fdc 100644
--- a/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/AnnotationHelperTestCases.java
+++ b/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/AnnotationHelperTestCases.java
@@ -30,6 +30,7 @@
  * 
  * @author Gerry Kessler - Oracle
  */
+@SuppressWarnings("deprecation")
 public class AnnotationHelperTestCases extends TestCase implements ICMAnnotationTestCases {	
 	
 	public void testGetCMAttributePropertiesAll(){
@@ -65,7 +66,7 @@
 		Assert.assertTrue(CMAnnotationHelper.getCMElementProperties(PUBLICID, TEST_ELEMENT_VALIDATOR, TEST_ATTR_PROPERTY_NAME_CONTENTASSIST).isEmpty());
 		Assert.assertEquals(CMAnnotationHelper.getCMElementProperties(PUBLICID, TEST_ELEMENT_NAME_NOATTRS, TEST_PROPERTY_NAME_A).size(), 1);
 		Assert.assertNotNull(CMAnnotationHelper.getCMElementProperties(PUBLICID, TEST_ELEMENT_NAME_NOATTRS, TEST_PROPERTY_NAME_A));
-		List propvals = CMAnnotationHelper.getCMElementProperties(PUBLICID, TEST_ELEMENT_NAME_NOATTRS, TEST_PROPERTY_NAME_A);
+		List<?> propvals = CMAnnotationHelper.getCMElementProperties(PUBLICID, TEST_ELEMENT_NAME_NOATTRS, TEST_PROPERTY_NAME_A);
 		Assert.assertEquals(propvals.size(), 1);
 		Object obj = propvals.get(0);
 		Assert.assertEquals(obj instanceof CMAnnotationPropertyValue, true);
@@ -83,7 +84,7 @@
 		Assert.assertTrue(CMAnnotationHelper.getCMElementProperties(BUNDLEID, PUBLICID, TEST_ELEMENT_VALIDATOR, TEST_ATTR_PROPERTY_NAME_CONTENTASSIST).isEmpty());
 		Assert.assertEquals(CMAnnotationHelper.getCMElementProperties(BUNDLEID, PUBLICID, TEST_ELEMENT_NAME_NOATTRS, TEST_PROPERTY_NAME_A).size(), 1);
 		Assert.assertNotNull(CMAnnotationHelper.getCMElementProperties(BUNDLEID, PUBLICID, TEST_ELEMENT_NAME_NOATTRS, TEST_PROPERTY_NAME_A));
-		List propvals = CMAnnotationHelper.getCMElementProperties(BUNDLEID, PUBLICID, TEST_ELEMENT_NAME_NOATTRS, TEST_PROPERTY_NAME_A);
+		List<?> propvals = CMAnnotationHelper.getCMElementProperties(BUNDLEID, PUBLICID, TEST_ELEMENT_NAME_NOATTRS, TEST_PROPERTY_NAME_A);
 		Assert.assertEquals(propvals.size(), 1);
 		Object obj = propvals.get(0);
 		Assert.assertEquals(obj instanceof CMAnnotationPropertyValue, true);
@@ -120,7 +121,7 @@
 	public void testGetCMAttributePropertyValues(){
 		//positive
 		Assert.assertEquals(CMAnnotationHelper.getCMAttributePropertyValues(BUNDLEID, PUBLICID, TEST_ELEMENT_NAME_LOADED, TEST_ATTR4_NAMEc, TEST_PROPERTY_MULTIVAL).size(), 3);
-		List list = new ArrayList(3);
+		List<String> list = new ArrayList<String>(3);
 		list.add("1");
 		list.add("2");
 		list.add("3");
@@ -160,7 +161,7 @@
 		//positive
 		Assert.assertEquals(((String)CMAnnotationHelper.getCMElementPropertyValues(BUNDLEID, PUBLICID, TEST_ELEMENT_NAME_LOADED, TEST_PROPERTY_NAME_A).get(0)), TEST_PROPERTY_VALUE_a);
 		Assert.assertEquals(CMAnnotationHelper.getCMElementPropertyValues(BUNDLEID, PUBLICID, TEST_ELEMENT_NAME_LOADED, TEST_PROPERTY_MULTIVAL).size(), 3);
-		List list = new ArrayList(3);
+		List<String> list = new ArrayList<String>(3);
 		list.add("1");
 		list.add("2");
 		list.add("3");
diff --git a/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/AnnotationMapTestCases.java b/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/AnnotationMapTestCases.java
index da6aa9b..7efdc08 100644
--- a/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/AnnotationMapTestCases.java
+++ b/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/AnnotationMapTestCases.java
@@ -30,8 +30,10 @@
  * 
  * @author Gerry Kessler - Oracle
  */
+@SuppressWarnings("deprecation")
 public class AnnotationMapTestCases extends TestCase implements ICMAnnotationTestCases{ 
 	private CMAnnotationFileRegistry reg;
+	@SuppressWarnings("unchecked")
 	private List maps;
 	
 	public void setUp(){
diff --git a/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/CaseInsensitiveAnnotationsTestCases.java b/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/CaseInsensitiveAnnotationsTestCases.java
index 673377b..70531a0 100644
--- a/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/CaseInsensitiveAnnotationsTestCases.java
+++ b/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/CaseInsensitiveAnnotationsTestCases.java
@@ -28,6 +28,7 @@
  * 
  * @author Gerry Kessler - Oracle
  */
+@SuppressWarnings("deprecation")
 public class CaseInsensitiveAnnotationsTestCases extends TestCase {
 	private String uri = "http://org.eclipse.jsf/caseInsensitiveTest";
 	private String cmElementName = "FoO";
@@ -35,6 +36,7 @@
 	private String meta_prop_name = "TypE";
 	private String meta_prop_value = "String";
 
+	@SuppressWarnings("unchecked")
 	public void testCIElementAnnotations(){
 		Assert.assertEquals(CMAnnotationHelper.getCMElementProperties(uri, cmElementName, meta_prop_name).size(), 1);
 		List props = CMAnnotationHelper.getCMElementProperties(uri, cmElementName, meta_prop_name);
@@ -46,6 +48,7 @@
 		}
 	}
 	
+	@SuppressWarnings("unchecked")
 	public void testCIDupeAttributeAnnotations(){
 		Assert.assertEquals(CMAnnotationHelper.getCMAttributeProperties(uri, cmElementName, cmAttributeName, meta_prop_name).size(), 1);
 		List props = CMAnnotationHelper.getCMAttributeProperties(uri, cmElementName, cmAttributeName, meta_prop_name);
diff --git a/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/DisableCMAnnotationFilesAPITest.java b/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/DisableCMAnnotationFilesAPITest.java
index 40dea3f..bd5a51f 100644
--- a/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/DisableCMAnnotationFilesAPITest.java
+++ b/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/DisableCMAnnotationFilesAPITest.java
@@ -22,6 +22,7 @@
 import org.eclipse.jst.jsf.contentmodel.annotation.CMAnnotationHelper;
 import org.eclipse.jst.jsf.metadataprocessors.MetaDataEnabledProcessingFactory;
 
+@SuppressWarnings("deprecation")
 public class DisableCMAnnotationFilesAPITest extends TestCase implements ILogListener {
 	private boolean errorLogged;
 	private ILog log;
@@ -38,6 +39,7 @@
 		super.tearDown();
 	}
 	
+	@SuppressWarnings({ "deprecation", "unchecked" })
 	public void testDisablement(){
 		String uri = "http://java.sun.com/jsf/html";
 		String cmElementName = "inputText";
diff --git a/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/DuplicateAnnotationsTestCases.java b/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/DuplicateAnnotationsTestCases.java
index 668a177..2d81008 100644
--- a/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/DuplicateAnnotationsTestCases.java
+++ b/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/DuplicateAnnotationsTestCases.java
@@ -29,6 +29,7 @@
  * 
  * @author Gerry Kessler - Oracle
  */
+@SuppressWarnings("deprecation")
 public class DuplicateAnnotationsTestCases extends TestCase {
 	private String uri = "http://org.eclipse.jsf/dupeTest";
 	private String cmElementName = "Foo";
@@ -36,6 +37,7 @@
 	private String meta_prop_name = "Type";
 	private String meta_prop_value = "String";
 
+	@SuppressWarnings("unchecked")
 	public void testDupeElementAnnotations(){
 		Assert.assertEquals(CMAnnotationHelper.getCMElementProperties(uri, cmElementName, meta_prop_name).size(), 2);
 		List props = CMAnnotationHelper.getCMElementProperties(uri, cmElementName, meta_prop_name);
@@ -47,6 +49,7 @@
 		}
 	}
 	
+	@SuppressWarnings("unchecked")
 	public void testDupeAttributeAnnotations(){
 		Assert.assertEquals(CMAnnotationHelper.getCMAttributeProperties(uri, cmElementName, cmAttributeName, meta_prop_name).size(), 2);
 		List props = CMAnnotationHelper.getCMAttributeProperties(uri, cmElementName, cmAttributeName, meta_prop_name);
diff --git a/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/NegativeAnnotationFileTestCases.java b/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/NegativeAnnotationFileTestCases.java
index 5e27c19..8133ceb 100644
--- a/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/NegativeAnnotationFileTestCases.java
+++ b/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/annotations/NegativeAnnotationFileTestCases.java
@@ -25,6 +25,7 @@
  * 
  * @author Gerry Kessler - Oracle
  */
+@SuppressWarnings("deprecation")
 public class NegativeAnnotationFileTestCases extends TestCase {
 	private String missing_uri = "http://org.eclipse.jsf/missing";
 	private String missing_file_uri = "http://org.eclipse.jsf/missingFile";
diff --git a/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/taglibprocessing/ColorTypeTest.java b/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/taglibprocessing/ColorTypeTest.java
index f2ab0ce..0a32118 100644
--- a/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/taglibprocessing/ColorTypeTest.java
+++ b/jsf/tests/org.eclipse.jst.jsf.metadata.tests/src/org/eclipse/jst/jsf/metadata/tests/taglibprocessing/ColorTypeTest.java
@@ -9,7 +9,6 @@
 import org.eclipse.jst.jsf.metadataprocessors.features.IPossibleValues;
 import org.eclipse.jst.jsf.metadataprocessors.features.IValidELValues;
 import org.eclipse.jst.jsf.metadataprocessors.features.IValidValues;
-import org.eclipse.swt.graphics.RGB;
 
 public class ColorTypeTest extends TaglibProcessingTestCase {
 	public void testPossibleValues(){		
diff --git a/jsf/tests/org.eclipse.jst.jsf.metadataprocessingtests2/src/org/eclipse/jst/jsf/metadataprocessingtests2/NoImplPossibleVals.java b/jsf/tests/org.eclipse.jst.jsf.metadataprocessingtests2/src/org/eclipse/jst/jsf/metadataprocessingtests2/NoImplPossibleVals.java
index 44d226e..a0b2fef 100644
--- a/jsf/tests/org.eclipse.jst.jsf.metadataprocessingtests2/src/org/eclipse/jst/jsf/metadataprocessingtests2/NoImplPossibleVals.java
+++ b/jsf/tests/org.eclipse.jst.jsf.metadataprocessingtests2/src/org/eclipse/jst/jsf/metadataprocessingtests2/NoImplPossibleVals.java
@@ -15,7 +15,6 @@
 
 import java.util.List;
 
-import org.eclipse.jst.jsf.contentmodel.annotation.CMAnnotationHelper;
 import org.eclipse.jst.jsf.metadataprocessors.AbstractMetaDataEnabledFeature;
 import org.eclipse.jst.jsf.metadataprocessors.features.IPossibleValues;
 
@@ -26,10 +25,12 @@
 		super();
 	}
 
+	@SuppressWarnings("unchecked")
 	public List getPossibleValues() {
 		return getPossibleVals();
 	}
 
+	@SuppressWarnings("unchecked")
 	private List getPossibleVals() {
 		return getTraitValueAsListOfStrings(IPossibleValues.POSSIBLE_VALUES_PROP_NAME);
 //		return CMAnnotationHelper.getCMAttributePropertyValues(getCMAnnotationContext().getBundleId(), getCMAnnotationContext().getUri(),