< prev index next >

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

Print this page

    *** 45,68 ****

              static String[] propTags = { "machine", "os", "jdk", "system-locale",
                              "user-locale", "encoding", "timezone", "bits", "displaydepth",
                              "description", "sw" };

    !         static LinkedHashMap xmlAttributes;

    !         static LinkedHashMap xmlElements;

              static String xmlTagName;
              private static I18NResourceBundle i18n = I18NResourceBundle
              .getBundleForClass(Main.class);

              static {
    !                 xmlElements = new LinkedHashMap();
                      for (int i = 0; i < propOrder.length; i++) {
                              xmlElements.put(propOrder[i], propTags[i]);
                      }
    !                 xmlAttributes = new LinkedHashMap();
                      xmlAttributes.put("id", "id");
                      xmlTagName = "environment";
              }

              //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema")
    --- 45,68 ----

              static String[] propTags = { "machine", "os", "jdk", "system-locale",
                              "user-locale", "encoding", "timezone", "bits", "displaydepth",
                              "description", "sw" };

    !         static LinkedHashMap<String, String> xmlAttributes;

    !         static LinkedHashMap<String, String> xmlElements;

              static String xmlTagName;
              private static I18NResourceBundle i18n = I18NResourceBundle
              .getBundleForClass(Main.class);

              static {
    !                 xmlElements = new LinkedHashMap<>();
                      for (int i = 0; i < propOrder.length; i++) {
                              xmlElements.put(propOrder[i], propTags[i]);
                      }
    !                 xmlAttributes = new LinkedHashMap<>();
                      xmlAttributes.put("id", "id");
                      xmlTagName = "environment";
              }

              //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema")
    *** 92,102 ****

              //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema", required = true)
              protected COFOS os;

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

              //    @XmlElement(name = "system-locale", namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema")
              protected String systemLocale;

              //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema")
    --- 92,102 ----

              //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema", required = true)
              protected COFOS os;

              //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema", required = true)
    !         protected List<COFSWEntity> sw;

              //    @XmlElement(name = "system-locale", namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema")
              protected String systemLocale;

              //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema")
    *** 255,269 ****
               */
              public String getId() {
                      return id;
              }

    !         LinkedHashMap getItemAttributes() {
                      return xmlAttributes;
              }

    !         LinkedHashMap getItemElements() {
                      return xmlElements;
              }

              String getItemTagName() {
                      return xmlTagName;
    --- 255,269 ----
               */
              public String getId() {
                      return id;
              }

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

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

              String getItemTagName() {
                      return xmlTagName;
    *** 329,341 ****
               * Objects of the following type(s) are allowed in the list
               * {@link SWEntity }
               *
               *
               */
    !         public List/*<SWEntity>*/getSw() {
                      if (sw == null) {
    !                         sw = new ArrayList/*<SWEntity>*/();
                      }
                      return this.sw;
              }

              /**
    --- 329,341 ----
               * Objects of the following type(s) are allowed in the list
               * {@link SWEntity }
               *
               *
               */
    !         public List<COFSWEntity> getSw() {
                      if (sw == null) {
    !                         sw = new ArrayList<>();
                      }
                      return this.sw;
              }

              /**

< prev index next >