< prev index next >

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

Print this page

    @@ -84,21 +84,21 @@
         "version",
         "description"
     })*/
     public class COFSWEntity extends COFItem{

    -static LinkedHashMap xmlAttributes;
    -static LinkedHashMap xmlElements;
    +static LinkedHashMap<String, String> xmlAttributes;
    +static LinkedHashMap<String, String> xmlElements;
     static String xmlTagName;
     static {
                     xmlTagName = "swentity";
    -                xmlElements = new LinkedHashMap();
    +                xmlElements = new LinkedHashMap<>();
                     xmlElements.put("name","name");
                     xmlElements.put("type","type");
                     xmlElements.put("version","version");
                     xmlElements.put("description","description");
    -                xmlAttributes = new LinkedHashMap();
    +                xmlAttributes = new LinkedHashMap<>();
                     xmlAttributes.put("id","id");
             }
     //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema")
         protected String description;

    @@ -136,15 +136,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 >