Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6483

Sort ConfigurerImpl Matchers by a number of literal characters

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.6, 3.1.2
    • Component/s: Core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      A configuration containing multiple HttpConduits with overlapping regular expressions can be made more useful with a basic sorting of ConfigurerImpl matchers based on the number of literal characters a regular expression contains.
      In most practical situations it should make it more predictable, even though on some rare cases a longer expression may be less specific.

        Attachments

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              sergey_beryozkin Sergey Beryozkin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: