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

Simplify batch-jberet enum: Attribute and Namespace

    XMLWordPrintable

Details

    Description

      org.wildfly.extension.batch.jberet.Attribute and org.wildfly.extension.batch.jberet.Namespace can be simplified by using Map.of() and avoiding calling enum.values().

      Remove the unused method Attribute.getMap()

      Add tests to verify parsing string value to enum for Attribute, Element, and Namespace enums.

      Attachments

        Activity

          People

            cfang@redhat.com Cheng Fang
            cfang@redhat.com Cheng Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: