Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 16.11.01
    • Component/s: framework
    • Labels:
      None
    • Sprint:
      Community Day 2 - 2015, Community Day 3 - 2015, Re-Factor Sprint 1

      Description

      ResourceLoader.getXmlRootElement caches it's return value; this has been deprecated, because DOM objects are memory intensive, and generally are only needed once.

        Issue Links

          Activity

          Hide
          doogie Adam Heath added a comment -

          [javac17] /srv/ofbiz/apache-git/framework/base/src/org/ofbiz/base/config/JNDIConfigUtil.java:39: warning: [deprecation] getXmlRootElement(String) in ResourceLoader has been deprecated
          [javac17] return ResourceLoader.getXmlRootElement(JNDIConfigUtil.JNDI_CONFIG_XML_FILENAME);
          [javac17] ^

          Show
          doogie Adam Heath added a comment - [javac17] /srv/ofbiz/apache-git/framework/base/src/org/ofbiz/base/config/JNDIConfigUtil.java:39: warning: [deprecation] getXmlRootElement(String) in ResourceLoader has been deprecated [javac17] return ResourceLoader.getXmlRootElement(JNDIConfigUtil.JNDI_CONFIG_XML_FILENAME); [javac17] ^
          Hide
          doogie Adam Heath added a comment -

          Fixed in branch OFBIZ-6275, r1675465

          Show
          doogie Adam Heath added a comment - Fixed in branch OFBIZ-6275 , r1675465
          Hide
          deepak.dixit Deepak Dixit added a comment -

          Can we merge all the fixes from https://svn.apache.org/repos/asf/ofbiz/branches/OFBIZ-6275 into trunk?

          Show
          deepak.dixit Deepak Dixit added a comment - Can we merge all the fixes from https://svn.apache.org/repos/asf/ofbiz/branches/OFBIZ-6275 into trunk?
          Hide
          deepak.dixit Deepak Dixit added a comment -

          This has been merged at Trunk at r#1731399

          Show
          deepak.dixit Deepak Dixit added a comment - This has been merged at Trunk at r#1731399

            People

            • Assignee:
              deepak.dixit Deepak Dixit
              Reporter:
              doogie Adam Heath
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development

                  Agile