Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2613

CustomMatchers#getFieldNames ignores superclass fields

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Test Coverage
    • None

    Description

      The bug in the matcher is due to a misunderstanding of how Groovy appends elements to a list: specifically, the += operator returns a new list rather than modifying the existing one.

      Attachments

        Activity

          People

            jeff.yemin@mongodb.com Jeffrey Yemin
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: