Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9706

MockEndpoint: isEqualTo predicate does not handle arrays correctly

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.17.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Novice

      Description

      IsEquals predicate does not work correctly for arrays while running tests with MockEndpoint.

      Source of problem was the final line of ObjectHelper#equal method -array1.equals(array2) does not compare the contents of arrays.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              jareks Jarosław Strzelecki
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: