You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Deepak Dixit (JIRA)" <ji...@apache.org> on 2016/02/20 11:42:18 UTC
[jira] [Commented] (OFBIZ-6290) ButtonEventConfig uses
getXmlRootElement which has been deprecated
[ https://issues.apache.org/jira/browse/OFBIZ-6290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15155551#comment-15155551 ]
Deepak Dixit commented on OFBIZ-6290:
-------------------------------------
Can we merge all the fixes from https://svn.apache.org/repos/asf/ofbiz/branches/OFBIZ-6275 into trunk?
> ButtonEventConfig uses getXmlRootElement which has been deprecated
> ------------------------------------------------------------------
>
> Key: OFBIZ-6290
> URL: https://issues.apache.org/jira/browse/OFBIZ-6290
> Project: OFBiz
> Issue Type: Sub-task
> Components: specialpurpose/pos
> Reporter: Adam Heath
> Assignee: Adam Heath
> Priority: Minor
>
> ResourceLoader.getXmlRootElement() caches its return value; however, DOM elements are memory intensive, and the returned value tends to only be used once. So, this is a poor pattern.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)