< prev index next >

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

Print this page

    @@ -27,16 +27,16 @@
     package com.sun.javatest.cof;

     import java.util.LinkedHashMap;

     public class COFApplication extends COFItem {
    -        static LinkedHashMap xmlAttributes;
    -        static LinkedHashMap xmlElements;
    +        static LinkedHashMap<String, String> xmlAttributes;
    +        static LinkedHashMap<String, String> xmlElements;
             static String xmlTagName;
             static {
                     xmlTagName = "application";
    -                xmlAttributes = new LinkedHashMap();
    +                xmlAttributes = new LinkedHashMap<>();
                     xmlAttributes.put("id", "id");
                     xmlAttributes.put("environmentid", "environmentid");
                     xmlAttributes.put("swentityid", "swentityid");
             }

    @@ -54,15 +54,15 @@
              */
             public String getId() {
                     return id;
             }

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

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

             String getItemTagName() {
                     return xmlTagName;

< prev index next >