Benoit Tellier created MAILBOX-399:
--------------------------------------
Summary: SearchQuery should be immutable
Key: MAILBOX-399
URL: https://issues.apache.org/jira/browse/MAILBOX-399
Project: James Mailbox
Issue Type: Improvement
Components: api
Affects Versions: master
Reporter: Benoit Tellier
Fix For: 3.6.0
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]