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

CycleDetector - use enum instead of String constants

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.5
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: