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

maas vdberg (Commented) (JIRA) jira-events at lists.jboss.org
Fri Dec 16 17:19:09 EST 2011


    [ https://issues.jboss.org/browse/AS7-3064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651768#comment-12651768 ] 

maas vdberg commented on AS7-3064:
----------------------------------

Note  that for most cases this will change the reported location from the position before the element to the position after the element...
                
> 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.Final
>
>
> 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