9e7abcbef868a1efed3efbb555271d5647d69b5a
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 44
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 1 | ||
Move Method private canInsertOrUpdate(mailboxId MailboxId, annotation MailboxAnnotation, annotationMapper AnnotationMapper) : boolean from class org.apache.james.mailbox.store.StoreMailboxManager to private canInsertOrUpdate(mailboxId MailboxId, annotation MailboxAnnotation, annotationMapper AnnotationMapper) : boolean from class org.apache.james.mailbox.store.StoreMailboxAnnotationManager | From | To | |
Move Attribute | 2 | ||
Move Attribute private limitAnnotationSize : int from class org.apache.james.mailbox.store.StoreMailboxManager to private limitAnnotationSize : int from class org.apache.james.mailbox.store.StoreMailboxAnnotationManager | From | To | |
Move Attribute private limitOfAnnotations : int from class org.apache.james.mailbox.store.StoreMailboxManager to private limitOfAnnotations : int from class org.apache.james.mailbox.store.StoreMailboxAnnotationManager | From | To | |
Extract Class | 1 | ||
Extract Class org.apache.james.mailbox.store.StoreMailboxAnnotationManager from class org.apache.james.mailbox.store.StoreMailboxManager | From | To | |
Merge Parameter | 3 | ||
Merge Parameter [annotationLimit : int, annotationLimitSize : int] to annotationManager : StoreMailboxAnnotationManager in method public OpenJPAMailboxManager(mapperFactory JPAMailboxSessionMapperFactory, authenticator Authenticator, authorizator Authorizator, locker MailboxPathLocker, useStreaming boolean, messageParser MessageParser, messageIdFactory MessageId.Factory, annotationManager StoreMailboxAnnotationManager, delegatingMailboxListener DelegatingMailboxListener, mailboxEventDispatcher MailboxEventDispatcher, storeRightManager StoreRightManager) in class org.apache.james.mailbox.jpa.openjpa.OpenJPAMailboxManager | From | To | |
Merge Parameter [annotationLimit : int, annotationLimitSize : int] to annotationManager : StoreMailboxAnnotationManager in method public OpenJPAMailboxManager(mapperFactory JPAMailboxSessionMapperFactory, authenticator Authenticator, authorizator Authorizator, messageParser MessageParser, messageIdFactory MessageId.Factory, delegatingMailboxListener DelegatingMailboxListener, mailboxEventDispatcher MailboxEventDispatcher, annotationManager StoreMailboxAnnotationManager, storeRightManager StoreRightManager) in class org.apache.james.mailbox.jpa.openjpa.OpenJPAMailboxManager | From | To | |
Merge Parameter [limitOfAnnotations : int, limitAnnotationSize : int] to annotationManager : StoreMailboxAnnotationManager in method public CassandraMailboxManager(mapperFactory CassandraMailboxSessionMapperFactory, authenticator Authenticator, authorizator Authorizator, locker MailboxPathLocker, messageParser MessageParser, messageIdFactory MessageId.Factory, mailboxEventDispatcher MailboxEventDispatcher, delegatingMailboxListener DelegatingMailboxListener, annotationManager StoreMailboxAnnotationManager, storeRightManager StoreRightManager) in class org.apache.james.mailbox.cassandra.CassandraMailboxManager | From | To | |
Rename Attribute | 2 | ||
Rename Attribute storeMailboxManager : StoreMailboxManager to annotationManager : StoreMailboxAnnotationManager in class org.apache.james.mailbox.store.StoreMailboxManagerAnnotationTest | From | To | |
Rename Attribute inMemoryMapperFactory : InMemoryMailboxSessionMapperFactory to mapperFactory : MailboxSessionMapperFactory in class org.apache.james.adapter.mailbox.MailboxManagementTest | From | To | |
Change Attribute Type | 4 | ||
Change Attribute Type mailboxManager : InMemoryMailboxManager to mailboxManager : StoreMailboxManager in class org.apache.james.mpt.imapmailbox.inmemory.host.InMemoryHostSystem | From | To | |
Change Attribute Type mailboxManager : InMemoryMailboxManager to mailboxManager : StoreMailboxManager in class org.apache.james.transport.matchers.IsOverQuotaTest | From | To | |
Change Attribute Type storeMailboxManager : StoreMailboxManager to annotationManager : StoreMailboxAnnotationManager in class org.apache.james.mailbox.store.StoreMailboxManagerAnnotationTest | From | To | |
Change Attribute Type inMemoryMapperFactory : InMemoryMailboxSessionMapperFactory to mapperFactory : MailboxSessionMapperFactory in class org.apache.james.adapter.mailbox.MailboxManagementTest | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public createMailboxManager(groupMembershipResolver GroupMembershipResolver, authenticator Authenticator, authorizator Authorizator) : StoreMailboxManager extracted from public beforeTest() : void in class org.apache.james.mpt.imapmailbox.inmemory.host.InMemoryHostSystem & moved to class org.apache.james.mailbox.inmemory.manager.InMemoryIntegrationResources | From | To | |
Extract And Move Method public createMailboxManager(groupMembershipResolver GroupMembershipResolver, authenticator Authenticator, authorizator Authorizator) : StoreMailboxManager extracted from protected setUpServiceManager() : void in class org.apache.james.pop3server.POP3ServerTest & moved to class org.apache.james.mailbox.inmemory.manager.InMemoryIntegrationResources | From | To |