This is an automated email from the ASF dual-hosted git repository.
matthieu pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git.
from 379a835 [Refactoring] Migrate tests in JUnit 4 to JUnit 5 in
backends-elasticsearch module
new b137370 [Refactoring] use StandardCharsets in more places
new 909a919 [Refactoring] move the call to
CharsetUtil.getAvailableCharsetNames() inside badCharset method
new 2abab15 [Refactoring] remove unused method getAvailableCharsets
new 3033780 [Refactoring] initiliazed available charset names with a
stream pipeline
new 12e1c58 [Refactoring] move available charset names into StatusResponse
new 853b846 [Refactoring] CharsetUtils now only handle utf7, change it
accordingly
new f8f5d40 [Refactoring] move createMockMail2Recipients util function to
the only class using it
new 3c123e4 [Refactoring] inline createMockMail2Recipients and replace it
with MailImpl.builder
new eb7430c [Refactoring] move createMimeMessage to
SetMimeHeaderHandlerTest
new eee987a [Refactoring] inline mimemessage construction
new e6f9d69 [Refactoring] refactor tests to actually test what's expected
new 055e487 [Refactoring] migrate tests to junit5
new 3c5467f [Refactoring] suppress redundant condition
new 598b3c4 [Refactoring] avoid building many times the same buffer
new 2044d4b [Refactoring] it doesn't make sense to make an abstract class
mandatory when there's an interface
The 15 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.gitignore | 1 +
.../mailbox/store/streaming/FullByteContent.java | 5 +-
.../protocols/api/AbstractProtocolTransport.java | 8 +-
.../apache/james/imap/api/display/CharsetUtil.java | 100 ---------------------
.../james/imap/api/display/ModifiedUtf7.java | 55 ++++++------
.../imap/api/message/response/StatusResponse.java | 20 ++++-
.../james/imap/decode/ImapRequestLineReader.java | 6 +-
.../imap/decode/parser/SearchCommandParser.java | 3 +-
.../james/imap/encode/ImapResponseComposer.java | 4 +-
.../imap/encode/base/ImapResponseComposerImpl.java | 4 +-
.../apache/james/imap/processor/LSubProcessor.java | 6 +-
.../apache/james/imap/processor/ListProcessor.java | 8 +-
.../parser/FetchCommandParserPartialFetchTest.java | 7 +-
.../SearchCommandParserAndParenthesesTest.java | 7 +-
.../parser/SearchCommandParserCharsetTest.java | 22 ++---
.../decode/parser/SearchCommandParserNotTest.java | 5 +-
.../decode/parser/SearchCommandParserOrTest.java | 3 +-
.../SearchCommandParserQuotedCharsetTest.java | 58 ++++++------
...earchCommandParserSearchKeySequenceSetTest.java | 3 +-
.../parser/SearchCommandParserSearchKeyTest.java | 5 +-
.../parser/SearchCommandParserTopLevelAndTest.java | 7 +-
.../imap/decode/parser/StoreCommandParserTest.java | 3 +-
.../james/protocols/pop3/utils/MockMailbox.java | 20 ++---
.../server/core/InternetHeadersInputStream.java | 30 +++----
.../apache/james/server/core/MimeMessageTest.java | 3 +-
.../apache/james/lifecycle/api/LifecycleUtil.java | 6 +-
.../mailrepository/lib/AbstractMailRepository.java | 3 +-
.../imapserver/netty/ImapHeartbeatHandler.java | 9 +-
.../james/smtpserver/SetMimeHeaderHandlerTest.java | 93 ++++++++++---------
.../java/org/apache/james/smtpserver/Util.java | 54 -----------
30 files changed, 201 insertions(+), 357 deletions(-)
delete mode 100644
protocols/imap/src/main/java/org/apache/james/imap/api/display/CharsetUtil.java
copy
mpt/core/src/main/java/org/apache/james/mpt/helper/ByteBufferInputStream.java
=>
protocols/imap/src/main/java/org/apache/james/imap/api/display/ModifiedUtf7.java
(56%)
delete mode 100644
server/protocols/protocols-smtp/src/test/java/org/apache/james/smtpserver/Util.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]