[jboss-jira] [JBoss JIRA] (WFLY-8810) org.jboss.as.clustering.controller.AttributeParsers.COLLECTION is redundant

Paul Ferraro (JIRA) issues at jboss.org
Fri May 19 10:04:00 EDT 2017


Paul Ferraro created WFLY-8810:
----------------------------------

             Summary: org.jboss.as.clustering.controller.AttributeParsers.COLLECTION is redundant
                 Key: WFLY-8810
                 URL: https://issues.jboss.org/browse/WFLY-8810
             Project: WildFly
          Issue Type: Bug
          Components: Clustering
    Affects Versions: 10.1.0.Final, 11.0.0.Alpha1
            Reporter: Paul Ferraro
            Assignee: Paul Ferraro


org.jboss.as.clustering.controller.AttributeParsers.COLLECTION is currently used for 2 types of attributes:
* Lists
* Maps

The list version is unnecessary, as the default parser for the associated attribute definition parses these value correctly.  The only exception is to support aliases in version 1.0 of the XSD.

The map version is very hacky, as it makes an assumption that the map value is available from the element text of the xml reader.  We should use a separate parser for this type.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list