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

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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 10.1.0.Final, 11.0.0.Alpha1
    • Fix Version/s: 11.0.0.Beta1
    • Component/s: Clustering
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pferraro Paul Ferraro
                  Reporter:
                  pferraro Paul Ferraro
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: