[jbosstools-issues] [JBoss JIRA] (JBIDE-15169) Optimize CustomTagLibComponent.checkExtended() method

Vlado Pakan (JIRA) issues at jboss.org
Wed Aug 13 10:02:31 EDT 2014


     [ https://issues.jboss.org/browse/JBIDE-15169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vlado Pakan closed JBIDE-15169.
-------------------------------



> Optimize CustomTagLibComponent.checkExtended() method
> -----------------------------------------------------
>
>                 Key: JBIDE-15169
>                 URL: https://issues.jboss.org/browse/JBIDE-15169
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: jsp/jsf/xml/html source editing
>            Reporter: Viacheslav Kabanovich
>            Assignee: Viacheslav Kabanovich
>             Fix For: 4.2.0.Alpha1
>
>
> This method is used to filter away extension attributes that do not extend 'normally' declared attributes for current node.
> It is invoked for each attribute collected initially in AbstractComponent.getAttributes(...) methods. Current implementation of checkExtended() requests for all attribute definitions in all libraries at each call. That makes N*N dependency of the number of queries on the number N of attribute definitions.
> We can cache the set of names of non-extension attributes obtained at the first invocation.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jbosstools-issues mailing list