75f1d70f0d7fd5b50d6458f24517db7375059152
Files Diff
- Added: 1
- Removed: 3
- Renamed: 0
- Modified: 6
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move Method | 8 | ||
| Move Method public persist(mailboxId MailboxId, uid MessageUid, flags Flags, mailboxSession MailboxSession) : MessageId from class org.apache.james.mailbox.cassandra.CassandraMessageIdManagerTestSystem to public persist(mailboxId MailboxId, uid MessageUid, flags Flags, mailboxSession MailboxSession) : MessageId from class org.apache.james.mailbox.store.MessageIdManagerTestSystem | From | To | |
| Move Method public getConstantMessageSize() : int from class org.apache.james.mailbox.cassandra.CassandraMessageIdManagerTestSystem to public getConstantMessageSize() : int from class org.apache.james.mailbox.store.MessageIdManagerTestSystem | From | To | |
| Move Method public setACL(mailboxId MailboxId, mailboxACL MailboxACL, session MailboxSession) : void from class org.apache.james.mailbox.cassandra.CassandraMessageIdManagerTestSystem to public setACL(mailboxId MailboxId, mailboxACL MailboxACL, session MailboxSession) : void from class org.apache.james.mailbox.store.MessageIdManagerTestSystem | From | To | |
| Move Method public deleteMailbox(mailboxId MailboxId, mailboxSession MailboxSession) : void from class org.apache.james.mailbox.cassandra.CassandraMessageIdManagerTestSystem to public deleteMailbox(mailboxId MailboxId, mailboxSession MailboxSession) : void from class org.apache.james.mailbox.store.MessageIdManagerTestSystem | From | To | |
| Move Method private createMessage(mailboxId MailboxId, flags Flags, messageId MessageId, uid MessageUid) : MailboxMessage from class org.apache.james.mailbox.cassandra.CassandraMessageIdManagerTestSystem to private createMessage(mailboxId MailboxId, flags Flags, messageId MessageId, uid MessageUid) : MailboxMessage from class org.apache.james.mailbox.store.MessageIdManagerTestSystem | From | To | |
| Move Method public createNotUsedMessageId() : MessageId from class org.apache.james.mailbox.cassandra.CassandraMessageIdManagerTestSystem to public createNotUsedMessageId() : MessageId from class org.apache.james.mailbox.store.MessageIdManagerTestSystem | From | To | |
| Move Method public setACL(mailboxId MailboxId, mailboxAcl MailboxACL, session MailboxSession) : void from class org.apache.james.mailbox.inmemory.InMemoryMessageIdManagerTestSystem to public setACL(mailboxId MailboxId, mailboxACL MailboxACL, session MailboxSession) : void from class org.apache.james.mailbox.store.MessageIdManagerTestSystem | From | To | |
| Move Method public createMailbox(mailboxPath MailboxPath, session MailboxSession) : Mailbox from class org.apache.james.mailbox.cassandra.CassandraMessageIdManagerTestSystem to public createMailbox(mailboxPath MailboxPath, session MailboxSession) : Mailbox from class org.apache.james.mailbox.store.MessageIdManagerTestSystem | From | To | |
| Rename Variable | 1 | ||
| Rename Variable testMailboxSessionMapperFactory : TestMailboxSessionMapperFactory to mapperFactory : InMemoryMailboxSessionMapperFactory in method protected createTestSystem(quotaManager QuotaManager, dispatcher MailboxEventDispatcher) : MessageIdManagerTestSystem in class org.apache.james.mailbox.inmemory.manager.InMemoryMessageIdManagerSideEffectTest | From | To | |
| Pull Up Attribute | 1 | ||
| Pull Up Attribute private messageIdFactory : MessageId.Factory from class org.apache.james.mailbox.store.StoreMessageIdManagerTestSystem to private messageIdFactory : MessageId.Factory from class org.apache.james.mailbox.store.MessageIdManagerTestSystem | From | To | |
| Change Return Type | 1 | ||
| Change Return Type InMemoryMessageIdManagerTestSystem to MessageIdManagerTestSystem in method public create() : MessageIdManagerTestSystem in class org.apache.james.mailbox.inmemory.InMemoryMessageIdManagerTestSystem | From | To | |
| Move Attribute | 1 | ||
| Move Attribute private MESSAGE_CONTENT : byte[] from class org.apache.james.mailbox.cassandra.CassandraMessageIdManagerTestSystem to private MESSAGE_CONTENT : byte[] from class org.apache.james.mailbox.store.MessageIdManagerTestSystem | From | To | |
| Move And Rename Class | 1 | ||
| Move And Rename Class org.apache.james.mailbox.store.StoreMessageIdManagerSideEffectTest moved and renamed to org.apache.james.mailbox.inmemory.manager.InMemoryMessageIdManagerSideEffectTest | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type messageIdManager : MessageIdManager to messageIdManager : StoreMessageIdManager in method protected createTestSystem(quotaManager QuotaManager, dispatcher MailboxEventDispatcher) : MessageIdManagerTestSystem in class org.apache.james.mailbox.inmemory.manager.InMemoryMessageIdManagerSideEffectTest | From | To | |
| Change Variable Type testMailboxSessionMapperFactory : TestMailboxSessionMapperFactory to mapperFactory : InMemoryMailboxSessionMapperFactory in method protected createTestSystem(quotaManager QuotaManager, dispatcher MailboxEventDispatcher) : MessageIdManagerTestSystem in class org.apache.james.mailbox.inmemory.manager.InMemoryMessageIdManagerSideEffectTest | From | To | |
| Extract Method | 1 | ||
| Extract Method public createMessageIdManager(mailboxManager StoreMailboxManager, factory MessageId.Factory) : MessageIdManager extracted from public createMessageIdManager(mailboxManager StoreMailboxManager) : MessageIdManager in class org.apache.james.mailbox.inmemory.manager.InMemoryIntegrationResources | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter mailboxAcl : MailboxACL to mailboxACL : MailboxACL in method public setACL(mailboxId MailboxId, mailboxACL MailboxACL, session MailboxSession) : void in class org.apache.james.mailbox.store.MessageIdManagerTestSystem | From | To |