Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-2594

Replace a switch statement in ElytronXmlParser#parseRulesType to improve readability

XMLWordPrintable

      Replace the switch statement in ElytronXmlParser#parseRulesType here with an if/else statement to increase readability.

      switch statements are useful when there are many different cases depending on the value of the same expression.

      For just one or two cases however, the code will be more readable with if statements.

            sdesai044 Shreya Desai (Inactive)
            dvilkola@redhat.com Diana Krepinska
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: