You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adam Heath (JIRA)" <ji...@apache.org> on 2015/04/22 17:19:59 UTC

[jira] [Commented] (OFBIZ-6278) JNDIConfigUtil makes use of deprecated getXmlRootElement

    [ https://issues.apache.org/jira/browse/OFBIZ-6278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14507248#comment-14507248 ] 

Adam Heath commented on OFBIZ-6278:
-----------------------------------

  [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]                                  ^



> JNDIConfigUtil makes use of deprecated getXmlRootElement
> --------------------------------------------------------
>
>                 Key: OFBIZ-6278
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6278
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>            Reporter: Adam Heath
>
> ResourceLoader.getXmlRootElement caches it's return value; this has been deprecated, because DOM objects are memory intensive, and generally are only needed once.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)