aea76c8d32c167590912c4d8b5e93c499467aa7d
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method public deleteMessage(id String) : DeleteResponse renamed to public deleteMessages(ids List<String>) : BulkResponse in class org.apache.james.mailbox.elasticsearch.ElasticSearchIndexer | From | To | |
| Change Parameter Type | 3 | ||
| Change Parameter Type id : String to ids : List<String> in method public deleteMessages(ids List<String>) : BulkResponse in class org.apache.james.mailbox.elasticsearch.ElasticSearchIndexer | From | To | |
| Change Parameter Type range : MessageRange to expungedUids : List<Long> in method public delete(session MailboxSession, mailbox Mailbox<Id>, expungedUids List<Long>) : void in class org.apache.james.mailbox.store.search.LazyMessageSearchIndex | From | To | |
| Change Parameter Type range : MessageRange to expungedUids : List<Long> in method public abstract delete(session MailboxSession, mailbox Mailbox<Id>, expungedUids List<Long>) : void in class org.apache.james.mailbox.store.search.ListeningMessageSearchIndex | From | To | |
| Rename Variable | 3 | ||
| Rename Variable firstMessageId : long to messageId1 : long in method public deleteShouldWorkWhenMultipleMessageIds() : void in class org.apache.james.mailbox.elasticsearch.events.ElasticSearchListeningMailboxMessageSearchIndexTest | From | To | |
| Rename Variable lastMessageId : long to messageId2 : long in method public deleteShouldWorkWhenMultipleMessageIds() : void in class org.apache.james.mailbox.elasticsearch.events.ElasticSearchListeningMailboxMessageSearchIndexTest | From | To | |
| Rename Variable expectedDeleteResponse : DeleteResponse to expectedBulkResponse : BulkResponse in method public deleteShouldWork() : void in class org.apache.james.mailbox.elasticsearch.events.ElasticSearchListeningMailboxMessageSearchIndexTest | From | To | |
| Change Return Type | 2 | ||
| Change Return Type DeleteResponse to BulkResponse in method public deleteMessages(ids List<String>) : BulkResponse in class org.apache.james.mailbox.elasticsearch.ElasticSearchIndexer | From | To | |
| Change Return Type void to Void in method public deleteAllMatchingQuery(queryBuilder QueryBuilder) : Void in class org.apache.james.mailbox.elasticsearch.ElasticSearchIndexer | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type expectedDeleteResponse : DeleteResponse to expectedBulkResponse : BulkResponse in method public deleteShouldWork() : void in class org.apache.james.mailbox.elasticsearch.events.ElasticSearchListeningMailboxMessageSearchIndexTest | From | To | |
| Inline Variable | 1 | ||
| Inline Variable mailbox : Mailbox<Id> in method public event(event Event) : void from class org.apache.james.mailbox.store.search.ListeningMessageSearchIndex | From | To | |
| Extract And Move Method | 2 | ||
| Extract And Move Method public delete(session MailboxSession, mailbox Mailbox<Id>, expungedUids List<Long>) : void extracted from public event(event Event) : void in class org.apache.james.mailbox.store.search.ListeningMessageSearchIndex & moved to class org.apache.james.mailbox.lucene.search.LuceneMessageSearchIndex | From | To | |
| Extract And Move Method public deleteAll(session MailboxSession, mailbox Mailbox<Id>) : void extracted from public event(event Event) : void in class org.apache.james.mailbox.store.search.ListeningMessageSearchIndex & moved to class org.apache.james.mailbox.lucene.search.LuceneMessageSearchIndex | From | To | |
| Rename Parameter | 3 | ||
| Rename Parameter range : MessageRange to expungedUids : List<Long> in method public abstract delete(session MailboxSession, mailbox Mailbox<Id>, expungedUids List<Long>) : void in class org.apache.james.mailbox.store.search.ListeningMessageSearchIndex | From | To | |
| Rename Parameter id : String to ids : List<String> in method public deleteMessages(ids List<String>) : BulkResponse in class org.apache.james.mailbox.elasticsearch.ElasticSearchIndexer | From | To | |
| Rename Parameter range : MessageRange to expungedUids : List<Long> in method public delete(session MailboxSession, mailbox Mailbox<Id>, expungedUids List<Long>) : void in class org.apache.james.mailbox.store.search.LazyMessageSearchIndex | From | To |