Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4689

CycleDetector - use enum instead of String constants

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 2.5.5
    • None
    • None

    Description

      com.opensymphony.xwork2.config.providers.CycleDetector currently uses String constants as values of a HashMap to keep up with the status of the vertexes.

      This could be replaced with an enum.

      see pull request 111 for change suggestion

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sdutry Stefaan Dutry
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: