4dbe064d2e516804f2a058313f83fd7ce078f838
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method private createMessageInOutbox(createdEntry MessageWithId.CreationMessageEntry, outbox MessageManager, session MailboxSession) : MetaDataWithContent from class org.apache.james.jmap.methods.SetMessagesCreationProcessor to public createMessageInMailbox(createdEntry ValueWithId.MessageWithId.CreationMessageEntry, mailbox MessageManager, session MailboxSession) : MessageFactory.MetaDataWithContent from class org.apache.james.jmap.methods.MessageAppender | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type message : MetaDataWithContent to message : MessageFactory.MetaDataWithContent in method private buildMessage(message MessageFactory.MetaDataWithContent, jmapMessage Message) : Mail in class org.apache.james.jmap.methods.MessageSender | From | To | |
Change Parameter Type createdEntry : MessageWithId.CreationMessageEntry to createdEntry : ValueWithId.MessageWithId.CreationMessageEntry in method public createMessageInMailbox(createdEntry ValueWithId.MessageWithId.CreationMessageEntry, mailbox MessageManager, session MailboxSession) : MessageFactory.MetaDataWithContent in class org.apache.james.jmap.methods.MessageAppender | From | To | |
Change Parameter Type message : MetaDataWithContent to message : MessageFactory.MetaDataWithContent in method public sendMessage(jmapMessage Message, message MessageFactory.MetaDataWithContent, session MailboxSession) : void in class org.apache.james.jmap.methods.MessageSender | From | To | |
Move Method | 4 | ||
Move Method private messageAttachment(session MailboxSession, attachment Attachment) : Optional<MessageAttachment> from class org.apache.james.jmap.methods.SetMessagesCreationProcessor to private messageAttachment(session MailboxSession, attachment Attachment) : Optional<MessageAttachment> from class org.apache.james.jmap.methods.MessageAppender | From | To | |
Move Method private sendMessage(message MetaDataWithContent, jmapMessage Message, session MailboxSession) : void from class org.apache.james.jmap.methods.SetMessagesCreationProcessor to public sendMessage(jmapMessage Message, message MessageFactory.MetaDataWithContent, session MailboxSession) : void from class org.apache.james.jmap.methods.MessageSender | From | To | |
Move Method private buildMessage(message MetaDataWithContent, jmapMessage Message) : Mail from class org.apache.james.jmap.methods.SetMessagesCreationProcessor to private buildMessage(message MessageFactory.MetaDataWithContent, jmapMessage Message) : Mail from class org.apache.james.jmap.methods.MessageSender | From | To | |
Move Method private getMessageAttachments(session MailboxSession, attachments ImmutableList<Attachment>) : ImmutableList<MessageAttachment> from class org.apache.james.jmap.methods.SetMessagesCreationProcessor to private getMessageAttachments(session MailboxSession, attachments ImmutableList<Attachment>) : ImmutableList<MessageAttachment> from class org.apache.james.jmap.methods.MessageAppender | From | To | |
Inline Method | 1 | ||
Inline Method private sendMessage(creationId CreationMessageId, message MetaDataWithContent, session MailboxSession) : MessageWithId inlined to private handleOutboxMessages(entry CreationMessageEntry, session MailboxSession) : MessageWithId in class org.apache.james.jmap.methods.SetMessagesCreationProcessor | From | To | |
Change Return Type | 1 | ||
Change Return Type MetaDataWithContent to MessageFactory.MetaDataWithContent in method public createMessageInMailbox(createdEntry ValueWithId.MessageWithId.CreationMessageEntry, mailbox MessageManager, session MailboxSession) : MessageFactory.MetaDataWithContent in class org.apache.james.jmap.methods.MessageAppender | From | To | |
Move Attribute | 3 | ||
Move Attribute private mimeMessageConverter : MIMEMessageConverter from class org.apache.james.jmap.methods.SetMessagesCreationProcessor to private mimeMessageConverter : MIMEMessageConverter from class org.apache.james.jmap.methods.MessageAppender | From | To | |
Move Attribute private mailFactory : MailFactory from class org.apache.james.jmap.methods.SetMessagesCreationProcessor to private mailFactory : MailFactory from class org.apache.james.jmap.methods.MessageSender | From | To | |
Move Attribute private mailSpool : MailSpool from class org.apache.james.jmap.methods.SetMessagesCreationProcessor to private mailSpool : MailSpool from class org.apache.james.jmap.methods.MessageSender | From | To | |
Extract Class | 2 | ||
Extract Class org.apache.james.jmap.methods.MessageAppender from class org.apache.james.jmap.methods.SetMessagesCreationProcessor | From | To | |
Extract Class org.apache.james.jmap.methods.MessageSender from class org.apache.james.jmap.methods.SetMessagesCreationProcessor | From | To | |
Rename Attribute | 2 | ||
Rename Attribute mailSpool : MailSpool to messageSender : MessageSender in class org.apache.james.jmap.methods.SetMessagesCreationProcessor | From | To | |
Rename Attribute mimeMessageConverter : MIMEMessageConverter to messageAppender : MessageAppender in class org.apache.james.jmap.methods.SetMessagesCreationProcessor | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type mailSpool : MailSpool to messageSender : MessageSender in class org.apache.james.jmap.methods.SetMessagesCreationProcessor | From | To | |
Change Attribute Type mimeMessageConverter : MIMEMessageConverter to messageAppender : MessageAppender in class org.apache.james.jmap.methods.SetMessagesCreationProcessor | From | To | |
Rename Parameter | 1 | ||
Rename Parameter outbox : MessageManager to mailbox : MessageManager in method public createMessageInMailbox(createdEntry ValueWithId.MessageWithId.CreationMessageEntry, mailbox MessageManager, session MailboxSession) : MessageFactory.MetaDataWithContent in class org.apache.james.jmap.methods.MessageAppender | From | To |