[jboss-jira] [JBoss JIRA] (AS7-3064) Create a more performant variant of SimpleAttributeDefinition.parse

Brian Stansberry (Reopened) (JIRA) jira-events at lists.jboss.org
Sun Dec 18 09:05:09 EST 2011


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

Brian Stansberry reopened AS7-3064:
-----------------------------------



Thanks for the patch!

I'm re-opening because we need to restore and deprecate the old variants. They are part of the public API in 7.0.2 and may be used by extensions that people have written whose code doesn't live in the main AS7 code base.
                
> Create a more performant variant of SimpleAttributeDefinition.parse
> -------------------------------------------------------------------
>
>                 Key: AS7-3064
>                 URL: https://issues.jboss.org/browse/AS7-3064
>             Project: Application Server 7
>          Issue Type: Task
>          Components: Domain Management
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>             Fix For: 7.1.0.CR1
>
>
> The parse method takes a Location as an argument, requiring the caller to ask the XmlStreamReader for the location whether or not it is needed. It's only needed for creating an error message if the parse method finds an invalid value.
> Deprecate this method and instead create a variant where we pass in the XmlStreamReader; let the impl ask for the location only if it is needed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list