c038bc28ab2fe73cfbaa16a119fb681beebe895d
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 5 | ||
Rename Method package removeListenerShouldRunTaskWhenOneListener() : void renamed to package removeListenerShouldReturnLastListenerRemovedWhenOneListener() : void in class org.apache.james.mailbox.events.MailboxListenerRegistryTest | From | To | |
Rename Method package addListenerShouldNotRunTaskWhenPreviouslyRegisteredListeners() : void renamed to package addListenerShouldNotReturnFirstListenerWhenPreviouslyRegisteredListeners() : void in class org.apache.james.mailbox.events.MailboxListenerRegistryTest | From | To | |
Rename Method package removeListenerOnlyRunTaskOnceForEmptyRegistry() : void renamed to package removeListenerOnlyReturnLastListenerRemovedForEmptyRegistry() : void in class org.apache.james.mailbox.events.MailboxListenerRegistryTest.ConcurrentTest | From | To | |
Rename Method package removeListenerShouldNotRunTaskWhenSeveralListener() : void renamed to package removeListenerShouldNotReturnLastListenerRemovedWhenSeveralListener() : void in class org.apache.james.mailbox.events.MailboxListenerRegistryTest | From | To | |
Rename Method package addListenerOnlyRunTaskOnceForEmptyRegistry() : void renamed to package addListenerOnlyReturnIsFirstListenerForEmptyRegistry() : void in class org.apache.james.mailbox.events.MailboxListenerRegistryTest.ConcurrentTest | From | To | |
Rename Variable | 2 | ||
Rename Variable runIfEmptyCount : AtomicInteger to firstListenerCount : AtomicInteger in method package addListenerOnlyReturnIsFirstListenerForEmptyRegistry() : void in class org.apache.james.mailbox.events.MailboxListenerRegistryTest.ConcurrentTest | From | To | |
Rename Variable runIfEmptyCount : AtomicInteger to lastListenerRemoved : AtomicInteger in method package removeListenerOnlyReturnLastListenerRemovedForEmptyRegistry() : void in class org.apache.james.mailbox.events.MailboxListenerRegistryTest.ConcurrentTest | From | To | |
Extract And Move Method | 3 | ||
Extract And Move Method package addListener(registrationKey RegistrationKey, listener MailboxListener) : Registration extracted from package addListenerShouldNotRunTaskWhenPreviouslyRegisteredListeners() : void in class org.apache.james.mailbox.events.MailboxListenerRegistryTest & moved to class org.apache.james.mailbox.events.MailboxListenerRegistry | From | To | |
Extract And Move Method package addListener(registrationKey RegistrationKey, listener MailboxListener) : Registration extracted from package removeListenerShouldRunTaskWhenOneListener() : void in class org.apache.james.mailbox.events.MailboxListenerRegistryTest & moved to class org.apache.james.mailbox.events.MailboxListenerRegistry | From | To | |
Extract And Move Method package addListener(registrationKey RegistrationKey, listener MailboxListener) : Registration extracted from package removeListenerShouldNotRunTaskWhenSeveralListener() : void in class org.apache.james.mailbox.events.MailboxListenerRegistryTest & moved to class org.apache.james.mailbox.events.MailboxListenerRegistry | From | To |