55582f58e3ff3a1192347d5d568b58af0d19a9b6
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method private dispatchNeedingSavedDeliveredToHeader(mail Mail, errors Collection<MailAddress>, message MimeMessage) : void renamed to private deliver(mail Mail, message MimeMessage) : Collection<MailAddress> in class org.apache.james.transport.mailets.delivery.MailDispatcher | From | To | |
Rename Method public setMailboxManager(mailboxManager MailboxManager) : void renamed to public ToRecipientFolder(mailboxManager MailboxManager, usersRepository UsersRepository) in class org.apache.james.transport.mailets.ToRecipientFolder | From | To | |
Rename Method private dispatchNeedingErrorsManaged(mail Mail, errors Collection<MailAddress>) : void renamed to private customizeHeadersAndDeliver(mail Mail) : Collection<MailAddress> in class org.apache.james.transport.mailets.delivery.MailDispatcher | From | To | |
Rename Method public prettyPrint() : String renamed to public asPrettyString() : String in class org.apache.mailet.MailAddress | From | To | |
Move And Inline Method | 2 | ||
Move And Inline Method public setDomainList(domainList DomainList) : void moved from class org.apache.james.transport.mailets.LocalDelivery to class org.apache.james.transport.mailets.SieveLocalDelivery & inlined to public init() : void | From | To | |
Move And Inline Method public setDomainList(domainList DomainList) : void moved from class org.apache.james.transport.mailets.SieveLocalDelivery to class org.apache.james.transport.mailets.LocalDelivery & inlined to public init() : void | From | To | |
Inline Method | 4 | ||
Inline Method public setDomainList(domainList DomainList) : void inlined to public init() : void in class org.apache.james.transport.mailets.SieveLocalDelivery | From | To | |
Inline Method public setDomainList(domainList DomainList) : void inlined to public init() : void in class org.apache.james.transport.mailets.LocalDelivery | From | To | |
Change Return Type | 2 | ||
Change Return Type void to Collection<MailAddress> in method private customizeHeadersAndDeliver(mail Mail) : Collection<MailAddress> in class org.apache.james.transport.mailets.delivery.MailDispatcher | From | To | |
Change Return Type void to Collection<MailAddress> in method private deliver(mail Mail, message MimeMessage) : Collection<MailAddress> in class org.apache.james.transport.mailets.delivery.MailDispatcher | From | To | |
Extract Method | 3 | ||
Extract Method private createFactory(log Log) : SieveFactory extracted from public SieveMailStore(mailetContext MailetContext, usersRepos UsersRepository, sievePoster SievePoster, folder String, resourceLocator ResourceLocator, log Log) in class org.apache.james.transport.mailets.jsieve.delivery.SieveMailStore | From | To | |
Extract Method private closeProcessing(session MailboxSession) : void extracted from private append(mail MimeMessage, user String, folder String, session MailboxSession) : void in class org.apache.james.transport.mailets.delivery.MailboxAppender | From | To | |
Extract Method private createMailboxIfNotExist(session MailboxSession, path MailboxPath) : void extracted from private appendMessageToMailbox(mail MimeMessage, session MailboxSession, path MailboxPath) : void in class org.apache.james.transport.mailets.delivery.MailboxAppender | From | To |