bfa5e426ac73e1da5866e0b7e772507204b3adcb
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Return Type | 2 | ||
Change Return Type void to String in method private uploadAttachment(attachment Attachment) : String in class org.apache.james.jmap.methods.integration.SetMessagesMethodTest | From | To | |
Change Return Type void to String in method private uploadTextAttachment(attachment Attachment) : String in class org.apache.james.jmap.methods.integration.SetMessagesMethodTest | From | To | |
Extract Variable | 4 | ||
Extract Variable rawBytes : byte[] in method public attachmentsShouldBeRetrievedWhenChainingSetMessagesAndGetMessagesTextAttachment() : void from class org.apache.james.jmap.methods.integration.SetMessagesMethodTest | From | To | |
Extract Variable rawBytes : byte[] in method public attachmentAndEmptyBodyShouldBeRetrievedWhenChainingSetMessagesAndGetMessagesWithTextAttachmentWithoutMailBody() : void from class org.apache.james.jmap.methods.integration.SetMessagesMethodTest | From | To | |
Extract Variable rawBytes : byte[] in method public attachmentsAndBodyShouldBeRetrievedWhenChainingSetMessagesAndGetMessagesWithTextBodyAndHtmlAttachment() : void from class org.apache.james.jmap.methods.integration.SetMessagesMethodTest | From | To | |
Extract Variable rawBytes : byte[] in method public attachmentsAndBodysShouldBeRetrievedWhenChainingSetMessagesAndGetMessagesWithMixedTextAndHtmlBodyAndHtmlAttachment() : void from class org.apache.james.jmap.methods.integration.SetMessagesMethodTest | From | To | |
Extract Method | 3 | ||
Extract Method public retrieveAndSaveAttachmentDetails(user String, messageId String, attachmentId String, composedMessageId ComposedMessageId) : void extracted from public appendMessageWithInlinedAttachmentToMailbox(user String, mailbox String, messageId String, attachmentId String) : void in class org.apache.james.jmap.methods.integration.cucumber.DownloadStepdefs | From | To | |
Extract Method public retrieveAndSaveAttachmentDetails(user String, messageId String, attachmentId String, composedMessageId ComposedMessageId) : void extracted from public appendMessageWithAttachmentToMailbox(user String, mailbox String, messageId String, attachmentId String) : void in class org.apache.james.jmap.methods.integration.cucumber.DownloadStepdefs | From | To | |
Extract Method public retrieveAndSaveAttachmentDetails(user String, messageId String, attachmentId String, composedMessageId ComposedMessageId) : void extracted from public appendMessageWithSameInlinedAttachmentsToMailbox(user String, mailbox String, messageName String, attachmentId String) : void in class org.apache.james.jmap.methods.integration.cucumber.DownloadStepdefs | From | To |