< prev index next >

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

Print this page

    @@ -79,17 +79,17 @@
         "expected",
         "actual"
     })*/
     public class COFStatus extends COFItem{

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

         static {
    -                xmlElements = new LinkedHashMap();
    -                xmlAttributes = new LinkedHashMap();
    +                xmlElements = new LinkedHashMap<>();
    +                xmlAttributes = new LinkedHashMap<>();
                     xmlElements.put("expected","expected");
                     xmlElements.put("actual","actual");
                     xmlAttributes.put("value","value");
                     xmlTagName = "status";
             }

    @@ -124,15 +124,15 @@
          *
          */
         public String getExpected() {
             return expected;
         }
    -    LinkedHashMap getItemAttributes() {
    +    LinkedHashMap<String, String> getItemAttributes() {
                     return xmlAttributes;
             }

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

         String getItemTagName() {
                     return xmlTagName;

< prev index next >