Uploaded image for project: 'James Mailbox'
  1. James Mailbox
  2. MAILBOX-399

SearchQuery should be immutable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • master
    • 3.6.0
    • api
    • None

    Description

      While working on JAMES-3182 I realized the SearchQuery object is mutable and thus can change upon processing.

      Clearly, this is a non desirable, potentially buggy behaviour, we should make that SearchQuery immutable.

      Proposition is to leverage the builder pattern to do so.

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: