1ccb1eca78ae2c20d4c2b3ed9d984ec54de40b14
Files Diff
- Added: 6
- Removed: 1
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable persistedData : JPAMailbox to persistedMailbox : JPAMailbox in method public save(mailbox Mailbox) : void in class org.apache.james.mailbox.jpa.mail.JPAMailboxMapper | From | To | |
Change Return Type | 1 | ||
Change Return Type SimpleMailboxMessage to MailboxMessage in method private createMessage(mailbox Mailbox, messageId MessageId, content String, bodyStart int, propertyBuilder PropertyBuilder) : MailboxMessage in class org.apache.james.mailbox.store.mail.model.MessageMapperTest | From | To | |
Extract Attribute | 1 | ||
Extract Attribute private UNLIMIT_MAX_SIZE : int in class org.apache.james.mailbox.jpa.mail.JPAMessageMapper | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.james.mailbox.store.mail.MessageMetadata renamed to org.apache.james.mailbox.store.mail.MessageUtils | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute limit : int to LIMIT : int in method public messagesCanBeRetrievedInMailboxWithRangeTypeOne() : void in class org.apache.james.mailbox.store.mail.model.MessageWithAttachmentMapperTest | From | To | |
Rename Attribute | 1 | ||
Rename Attribute wrapped : JPAMessageMapper to messageMapper : JPAMessageMapper in class org.apache.james.mailbox.jpa.mail.TransactionalMessageMapper | From | To | |
Change Variable Type | 6 | ||
Change Variable Type messageWithProperties : SimpleMailboxMessage to messageWithProperties : MailboxMessage in method public textualLineCountShouldBeWellStored() : void in class org.apache.james.mailbox.store.mail.model.MessageMapperTest | From | To | |
Change Variable Type messageWithProperties : SimpleMailboxMessage to messageWithProperties : MailboxMessage in method public subTypeShouldBeWellStored() : void in class org.apache.james.mailbox.store.mail.model.MessageMapperTest | From | To | |
Change Variable Type messageWithProperties : SimpleMailboxMessage to messageWithProperties : MailboxMessage in method public messagePropertiesShouldBeStoredWhenDuplicateEntries() : void in class org.apache.james.mailbox.store.mail.model.MessageMapperTest | From | To | |
Change Variable Type messageWithProperties : SimpleMailboxMessage to messageWithProperties : MailboxMessage in method public mediaTypeShouldBeWellStored() : void in class org.apache.james.mailbox.store.mail.model.MessageMapperTest | From | To | |
Change Variable Type messageWithProperties : SimpleMailboxMessage to messageWithProperties : MailboxMessage in method public messagePropertiesShouldBeStoredWhenNoProperty() : void in class org.apache.james.mailbox.store.mail.model.MessageMapperTest | From | To | |
Change Variable Type messageWithProperties : SimpleMailboxMessage to messageWithProperties : MailboxMessage in method public messagePropertiesShouldBeStored() : void in class org.apache.james.mailbox.store.mail.model.MessageMapperTest | From | To | |
Extract Variable | 1 | ||
Extract Variable updatedFlags : Iterator<UpdatedFlags> in method public flagsReplacementShouldReturnAnUpdatedFlagHighlightingTheReplacement() : void from class org.apache.james.mailbox.store.mail.model.MessageMapperTest | From | To | |
Extract Method | 1 | ||
Extract Method private initData() : void extracted from public setProducer(producer IProducer<T>) : void in class org.apache.james.mailbox.store.mail.model.MessageMapperTest | From | To | |
Change Attribute Type | 7 | ||
Change Attribute Type message2 : SimpleMailboxMessage to message2 : MailboxMessage in class org.apache.james.mailbox.store.mail.model.MessageMapperTest | From | To | |
Change Attribute Type message1 : SimpleMailboxMessage to message1 : MailboxMessage in class org.apache.james.mailbox.store.mail.model.MessageMapperTest | From | To | |
Change Attribute Type messageMetadataMapper : MessageMetadata to messageMetadataMapper : MessageUtils in class org.apache.james.mailbox.jpa.mail.JPAMessageMapper | From | To | |
Change Attribute Type message6 : SimpleMailboxMessage to message6 : MailboxMessage in class org.apache.james.mailbox.store.mail.model.MessageMapperTest | From | To | |
Change Attribute Type message5 : SimpleMailboxMessage to message5 : MailboxMessage in class org.apache.james.mailbox.store.mail.model.MessageMapperTest | From | To | |
Change Attribute Type message4 : SimpleMailboxMessage to message4 : MailboxMessage in class org.apache.james.mailbox.store.mail.model.MessageMapperTest | From | To | |
Change Attribute Type message3 : SimpleMailboxMessage to message3 : MailboxMessage in class org.apache.james.mailbox.store.mail.model.MessageMapperTest | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public from(mailbox Mailbox) : JPAMailbox extracted from public save(mailbox Mailbox) : void in class org.apache.james.mailbox.jpa.mail.JPAMailboxMapper & moved to class org.apache.james.mailbox.jpa.mail.model.JPAMailbox | From | To | |
Extract And Move Method public from(mailbox Mailbox) : JPAMailbox extracted from private copy(mailbox Mailbox, uid MessageUid, modSeq long, original MailboxMessage) : MessageMetaData in class org.apache.james.mailbox.jpa.mail.JPAMessageMapper & moved to class org.apache.james.mailbox.jpa.mail.model.JPAMailbox | From | To | |
Rename Parameter | 1 | ||
Rename Parameter wrapped : JPAMessageMapper to messageMapper : JPAMessageMapper in method public TransactionalMessageMapper(messageMapper JPAMessageMapper) in class org.apache.james.mailbox.jpa.mail.TransactionalMessageMapper | From | To |