ca12220c101ac6cdce4377fe1de4c7d975e4c205
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 2 | ||
| Change Parameter Type rabbitMQConnectionFactory : RabbitMQConnectionFactory to simpleConnectionPool : SimpleConnectionPool in method public RabbitMQEventBus(simpleConnectionPool SimpleConnectionPool, eventSerializer EventSerializer, retryBackoff RetryBackoffConfiguration, routingKeyConverter RoutingKeyConverter, eventDeadLetters EventDeadLetters, metricFactory MetricFactory) in class org.apache.james.mailbox.events.RabbitMQEventBus | From | To | |
| Change Parameter Type factory : RabbitMQConnectionFactory to connectionPool : SimpleConnectionPool in method package SimpleChannelPool(connectionPool SimpleConnectionPool) in class org.apache.james.backend.rabbitmq.SimpleChannelPool | From | To | |
| Inline Method | 1 | ||
| Inline Method private createQueue() : void inlined to package setUp() : void in class org.apache.james.mailbox.events.RabbitMQEventBusTest.PublishingTest | From | To | |
| Change Return Type | 1 | ||
| Change Return Type Channel to Mono<Channel> in method private getResilientChannel() : Mono<Channel> in class org.apache.james.backend.rabbitmq.SimpleChannelPool | From | To | |
| Move Attribute | 2 | ||
| Move Attribute private connectionFactory : RabbitMQConnectionFactory from class org.apache.james.backend.rabbitmq.SimpleChannelPool to private connectionFactory : RabbitMQConnectionFactory from class org.apache.james.backend.rabbitmq.SimpleConnectionPool | From | To | |
| Move Attribute private connectionReference : AtomicReference<Connection> from class org.apache.james.backend.rabbitmq.SimpleChannelPool to private connectionReference : AtomicReference<Connection> from class org.apache.james.backend.rabbitmq.SimpleConnectionPool | From | To | |
| Extract Class | 1 | ||
| Extract Class org.apache.james.backend.rabbitmq.SimpleConnectionPool from class org.apache.james.backend.rabbitmq.SimpleChannelPool | From | To | |
| Replace Variable With Attribute | 2 | ||
| Replace Variable With Attribute rabbitConnectionFactory : RabbitMQConnectionFactory to connectionPool : SimpleConnectionPool in method private createEventBus() : RabbitMQEventBus in class org.apache.james.mpt.imapmailbox.rabbitmq.host.RabbitMQEventBusHostSystem | From | To | |
| Replace Variable With Attribute sender : Sender to sender1 : Sender in method package setUp() : void in class org.apache.james.mailbox.events.RabbitMQEventBusTest.PublishingTest | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute connectionFactory : RabbitMQConnectionFactory to connectionPool : SimpleConnectionPool in class org.apache.james.backend.rabbitmq.SimpleChannelPool | From | To | |
| Rename Attribute connectionFactory : RabbitMQConnectionFactory to resilientConnection : Mono<Connection> in class org.apache.james.mailbox.events.RabbitMQEventBusTest | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type rabbitConnectionFactory : RabbitMQConnectionFactory to connectionPool : SimpleConnectionPool in method private createEventBus() : RabbitMQEventBus in class org.apache.james.mpt.imapmailbox.rabbitmq.host.RabbitMQEventBusHostSystem | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type connectionFactory : RabbitMQConnectionFactory to connectionPool : SimpleConnectionPool in class org.apache.james.backend.rabbitmq.SimpleChannelPool | From | To | |
| Change Attribute Type connectionFactory : RabbitMQConnectionFactory to resilientConnection : Mono<Connection> in class org.apache.james.mailbox.events.RabbitMQEventBusTest | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter rabbitMQConnectionFactory : RabbitMQConnectionFactory to simpleConnectionPool : SimpleConnectionPool in method public RabbitMQEventBus(simpleConnectionPool SimpleConnectionPool, eventSerializer EventSerializer, retryBackoff RetryBackoffConfiguration, routingKeyConverter RoutingKeyConverter, eventDeadLetters EventDeadLetters, metricFactory MetricFactory) in class org.apache.james.mailbox.events.RabbitMQEventBus | From | To | |
| Rename Parameter factory : RabbitMQConnectionFactory to connectionPool : SimpleConnectionPool in method package SimpleChannelPool(connectionPool SimpleConnectionPool) in class org.apache.james.backend.rabbitmq.SimpleChannelPool | From | To |