< prev index next >

## src/com/sun/javatest/cof/COFTestSuites.java

Print this page

    @@ -57,30 +57,30 @@
     @XmlType(name = "TestSuites", propOrder = {
         "testsuite"
     })*/
     public class COFTestSuites extends COFItem{

    -static LinkedHashMap xmlAttributes;
    +static LinkedHashMap<String, String> xmlAttributes;

    -        static LinkedHashMap xmlElements;
    +        static LinkedHashMap<String, String> xmlElements;

             static String xmlTagName;

             static {
    -        xmlElements = new LinkedHashMap();
    +        xmlElements = new LinkedHashMap<>();
             xmlElements.put("testsuite", "testsuite");
             xmlTagName = "testsuites";
         }

             //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema", required = true)
    -    protected List/*<COFTestSuite>*/ testsuite;
    +    protected List<COFTestSuite> testsuite;

    -        LinkedHashMap getItemAttributes() {
    +        LinkedHashMap<String, String> getItemAttributes() {
                     return xmlAttributes;
             }

    -        LinkedHashMap getItemElements() {
    +        LinkedHashMap<String, String> getItemElements() {
                     return xmlElements;
             }

         String getItemTagName() {
                     return xmlTagName;

    @@ -106,13 +106,13 @@
          * Objects of the following type(s) are allowed in the list
          * {@link COFTestSuite }
          *
          *
          */
    -    public List/*<COFTestSuite>*/ getTestsuite() {
    +    public List<COFTestSuite> getTestsuite() {
             if (testsuite == null) {
    -            testsuite = new ArrayList/*<COFTestSuite>*/();
    +            testsuite = new ArrayList<>();
             }
             return this.testsuite;
         }

             /* (non-Javadoc)

< prev index next >