< prev index next >

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

Print this page

    *** 66,83 ****
      static final String [] tags = {
              "name",
              "version",
              "arch"
          };
    ! static LinkedHashMap xmlAttributes;

    !     static LinkedHashMap xmlElements;

          static String xmlTagName;

          static {
    !         xmlElements = new LinkedHashMap();
              for (int i = 0;i<propOrder.length;i++) {
                  xmlElements.put(propOrder[i], tags[i]);
              }
              xmlTagName = "os";
              }
    --- 66,83 ----
      static final String [] tags = {
              "name",
              "version",
              "arch"
          };
    ! static LinkedHashMap<String, String> xmlAttributes;

    !     static LinkedHashMap<String, String> xmlElements;

          static String xmlTagName;

          static {
    !         xmlElements = new LinkedHashMap<>();
              for (int i = 0;i<propOrder.length;i++) {
                  xmlElements.put(propOrder[i], tags[i]);
              }
              xmlTagName = "os";
              }
    *** 101,114 ****
           */
          public String getArch() {
              return arch;
          }

    !         LinkedHashMap getItemAttributes() {
                      return xmlAttributes;
              }
    !     LinkedHashMap getItemElements() {
                      return xmlElements;
              }

              String getItemTagName() {
                      return xmlTagName;
    --- 101,114 ----
           */
          public String getArch() {
              return arch;
          }

    !         LinkedHashMap<String, String> getItemAttributes() {
                      return xmlAttributes;
              }
    !     LinkedHashMap<String, String> getItemElements() {
                      return xmlElements;
              }

              String getItemTagName() {
                      return xmlTagName;

< prev index next >