80009996eae5f7c5d14d397a37464d54eccc44a4
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public storeAttachment(attachment Attachment) : void renamed to public storeAttachmentForOwner(attachment Attachment, owner String) : void in class org.apache.james.mailbox.store.mail.AttachmentMapper | From | To | |
Rename Method public storeAttachment(attachment Attachment) : void renamed to public storeAttachmentForOwner(attachment Attachment, owner String) : void in class org.apache.james.mailbox.inmemory.mail.InMemoryAttachmentMapper | From | To | |
Rename Method public storeAttachment(attachment Attachment) : void renamed to public storeAttachmentForOwner(attachment Attachment, owner String) : void in class org.apache.james.mailbox.cassandra.mail.CassandraAttachmentMapper | From | To | |
Rename Attribute | 1 | ||
Rename Attribute attachementMessageIdDAO : CassandraAttachmentMessageIdDAO to attachmentMessageIdDAO : CassandraAttachmentMessageIdDAO in class org.apache.james.mailbox.cassandra.CassandraMailboxSessionMapperFactory | From | To | |
Extract Variable | 1 | ||
Extract Variable relatedMessageIds : Collection<MessageId> in method private isReferencedInUserMessages(attachmentId AttachmentId, mailboxSession MailboxSession) : boolean from class org.apache.james.mailbox.store.StoreAttachmentManager | From | To | |
Extract Method | 1 | ||
Extract Method private isReferencedInUserMessages(attachmentId AttachmentId, mailboxSession MailboxSession) : boolean extracted from private userHasAccessToAttachment(attachmentId AttachmentId, mailboxSession MailboxSession) : boolean in class org.apache.james.mailbox.store.StoreAttachmentManager | From | To | |
Rename Parameter | 1 | ||
Rename Parameter attachementMessageIdDAO : CassandraAttachmentMessageIdDAO to attachmentMessageIdDAO : CassandraAttachmentMessageIdDAO in method public CassandraMailboxSessionMapperFactory(uidProvider CassandraUidProvider, modSeqProvider CassandraModSeqProvider, session Session, messageDAO CassandraMessageDAO, messageIdDAO CassandraMessageIdDAO, imapUidDAO CassandraMessageIdToImapUidDAO, mailboxCounterDAO CassandraMailboxCounterDAO, mailboxRecentsDAO CassandraMailboxRecentsDAO, mailboxDAO CassandraMailboxDAO, mailboxPathDAO CassandraMailboxPathDAO, firstUnseenDAO CassandraFirstUnseenDAO, applicableFlagDAO CassandraApplicableFlagDAO, attachmentDAO CassandraAttachmentDAO, attachmentDAOV2 CassandraAttachmentDAOV2, deletedMessageDAO CassandraDeletedMessageDAO, blobsDAO CassandraBlobsDAO, attachmentMessageIdDAO CassandraAttachmentMessageIdDAO, ownerDAO CassandraAttachmentOwnerDAO, cassandraUtils CassandraUtils, cassandraConfiguration CassandraConfiguration) in class org.apache.james.mailbox.cassandra.CassandraMailboxSessionMapperFactory | From | To |