030ed62af30ee659cdcd37d5690441f836f81cd1
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public processShouldEmptyTextBodyAndHtmlBodyWhenThoseAreEmpty() : void renamed to public processShouldReturnEmptyTextBodyAndHtmlBodyWhenThoseAreEmpty() : void in class org.apache.james.jmap.methods.GetMessagesMethodTest | From | To | |
Change Parameter Type | 5 | ||
Change Parameter Type computedTextBody : String to computedTextBody : Optional<String> in method private getPreview(messageContent MessageContent, computedTextBody Optional<String>) : String in class org.apache.james.jmap.model.MessageFactory | From | To | |
Change Parameter Type htmlBody : String to htmlBody : Optional<String> in method public htmlBody(htmlBody Optional<String>) : Builder in class org.apache.james.jmap.model.Message.Builder | From | To | |
Change Parameter Type textBody : String to textBody : Optional<String> in method public textBody(textBody Optional<String>) : Builder in class org.apache.james.jmap.model.Message.Builder | From | To | |
Change Parameter Type textBody : String to textBody : Optional<String> in method public textBody(textBody Optional<String>) : Builder in class org.apache.james.jmap.model.SubMessage.Builder | From | To | |
Change Parameter Type htmlBody : String to htmlBody : Optional<String> in method public htmlBody(htmlBody Optional<String>) : Builder in class org.apache.james.jmap.model.SubMessage.Builder | From | To | |
Change Return Type | 1 | ||
Change Return Type String to Optional<String> in method private asString(textBody TextBody) : Optional<String> in class org.apache.james.jmap.model.MessageContentExtractor | From | To | |
Extract Attribute | 2 | ||
Extract Attribute private DEFAULT_HTML_BODY : Optional<String> in class org.apache.james.jmap.model.SubMailboxMessageTest | From | To | |
Extract Attribute private DEFAULT_TEXT_BODY : Optional<String> in class org.apache.james.jmap.model.SubMailboxMessageTest | From | To | |
Change Variable Type | 3 | ||
Change Variable Type bodyContent : String to bodyContent : Optional<String> in method private parseTextBody(entity Entity, textBody TextBody) : MessageContent in class org.apache.james.jmap.model.MessageContentExtractor | From | To | |
Change Variable Type htmlBody : String to htmlBody : Optional<String> in method public fromMetaDataWithContent(message MetaDataWithContent) : Message in class org.apache.james.jmap.model.MessageFactory | From | To | |
Change Variable Type textBody : String to textBody : Optional<String> in method public fromMetaDataWithContent(message MetaDataWithContent) : Message in class org.apache.james.jmap.model.MessageFactory | From | To | |
Change Attribute Type | 6 | ||
Change Attribute Type textBody : String to textBody : Optional<String> in class org.apache.james.jmap.model.SubMessage.Builder | From | To | |
Change Attribute Type htmlBody : String to htmlBody : Optional<String> in class org.apache.james.jmap.model.Message.Builder | From | To | |
Change Attribute Type TEXT_BODY : String to TEXT_BODY : Optional<String> in class org.apache.james.jmap.json.ParsingWritingObjects.Common | From | To | |
Change Attribute Type htmlBody : String to htmlBody : Optional<String> in class org.apache.james.jmap.model.SubMessage.Builder | From | To | |
Change Attribute Type textBody : String to textBody : Optional<String> in class org.apache.james.jmap.model.Message.Builder | From | To | |
Change Attribute Type HTML_BODY : String to HTML_BODY : Optional<String> in class org.apache.james.jmap.json.ParsingWritingObjects.Common | From | To |