Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-8809

org.jboss.as.clustering.controller.AttributeParsers.COLLECTION is redundant

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 11.0.0.Beta1
    • 10.1.0.Final, 11.0.0.Alpha1
    • Clustering
    • None

      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.

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: