8dba0425b27622bebb41f140e492f0c51b000e65
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable messageRepresentions : Stream<Pair<CassandraMessageDAO.MessageWithoutAttachment,Stream<CassandraMessageDAO.MessageAttachmentRepresentation>>> to messageRepresentations : CompletableFuture<Stream<Pair<CassandraMessageDAO.MessageWithoutAttachment,Stream<CassandraMessageDAO.MessageAttachmentRepresentation>>>> in method private retrieveMessages(messageIds List<ComposedMessageIdWithMetaData>, fetchType FetchType, limit Optional<Integer>) : CompletableFuture<Stream<SimpleMailboxMessage>> in class org.apache.james.mailbox.cassandra.mail.CassandraMessageMapper | From | To | |
Change Return Type | 1 | ||
Change Return Type Stream<SimpleMailboxMessage> to CompletableFuture<Stream<SimpleMailboxMessage>> in method private retrieveMessages(messageIds List<ComposedMessageIdWithMetaData>, fetchType FetchType, limit Optional<Integer>) : CompletableFuture<Stream<SimpleMailboxMessage>> in class org.apache.james.mailbox.cassandra.mail.CassandraMessageMapper | From | To | |
Change Variable Type | 1 | ||
Change Variable Type messageRepresentions : Stream<Pair<CassandraMessageDAO.MessageWithoutAttachment,Stream<CassandraMessageDAO.MessageAttachmentRepresentation>>> to messageRepresentations : CompletableFuture<Stream<Pair<CassandraMessageDAO.MessageWithoutAttachment,Stream<CassandraMessageDAO.MessageAttachmentRepresentation>>>> in method private retrieveMessages(messageIds List<ComposedMessageIdWithMetaData>, fetchType FetchType, limit Optional<Integer>) : CompletableFuture<Stream<SimpleMailboxMessage>> in class org.apache.james.mailbox.cassandra.mail.CassandraMessageMapper | From | To | |
Extract Method | 1 | ||
Extract Method private deleteAsFuture(message MailboxMessage, mailboxId CassandraId) : CompletableFuture<Void> extracted from public delete(mailbox Mailbox, message MailboxMessage) : void in class org.apache.james.mailbox.cassandra.mail.CassandraMessageMapper | From | To | |
Rename Parameter | 1 | ||
Rename Parameter set : MessageRange to messageRange : MessageRange in method public expungeMarkedForDeletionInMailbox(mailbox Mailbox, messageRange MessageRange) : Map<MessageUid,MessageMetaData> in class org.apache.james.mailbox.cassandra.mail.CassandraMessageMapper | From | To |