2b67141afed7eac1e32f2986acd753693f30ebbe
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 21
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Variable | 1 | ||
| Rename Variable delegate : ChannelInboundHandler to delegateTwo : ChannelInboundHandler in method public shouldDispatchToRegisteredDecoder() : void in class org.neo4j.coreedge.catchup.RequestDecoderDispatcherTest | From | To | |
| Rename Class | 3 | ||
| Rename Class org.neo4j.coreedge.catchup.CatchupClientProtocol.NextMessage renamed to org.neo4j.coreedge.catchup.CatchupClientProtocol.State | From | To | |
| Rename Class org.neo4j.coreedge.catchup.CatchupServerProtocol.NextMessage renamed to org.neo4j.coreedge.catchup.CatchupServerProtocol.State | From | To | |
| Rename Class org.neo4j.coreedge.catchup.RequestDecoderDispatcherTest.Type renamed to org.neo4j.coreedge.catchup.RequestDecoderDispatcherTest.State | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute next : E to state : E in class org.neo4j.coreedge.catchup.Protocol | From | To | |
| Extract Variable | 4 | ||
| Extract Variable delegateThree : ChannelInboundHandler in method public shouldDispatchToRegisteredDecoder() : void from class org.neo4j.coreedge.catchup.RequestDecoderDispatcherTest | From | To | |
| Extract Variable delegateOne : ChannelInboundHandler in method public shouldLogAWarningIfThereIsNoDecoderForTheMessageType() : void from class org.neo4j.coreedge.catchup.RequestDecoderDispatcherTest | From | To | |
| Extract Variable delegateThree : ChannelInboundHandler in method public shouldLogAWarningIfThereIsNoDecoderForTheMessageType() : void from class org.neo4j.coreedge.catchup.RequestDecoderDispatcherTest | From | To | |
| Extract Variable delegateOne : ChannelInboundHandler in method public shouldDispatchToRegisteredDecoder() : void from class org.neo4j.coreedge.catchup.RequestDecoderDispatcherTest | From | To | |
| Change Variable Type | 4 | ||
| Change Variable Type dispatcher : RequestDecoderDispatcher<Type> to dispatcher : RequestDecoderDispatcher<State> in method public shouldDispatchToRegisteredDecoder() : void in class org.neo4j.coreedge.catchup.RequestDecoderDispatcherTest | From | To | |
| Change Variable Type decoderDispatcher : RequestDecoderDispatcher<NextMessage> to decoderDispatcher : RequestDecoderDispatcher<State> in method protected decoders(protocol CatchupClientProtocol) : ChannelInboundHandler in class org.neo4j.coreedge.catchup.CoreClient | From | To | |
| Change Variable Type dispatcher : RequestDecoderDispatcher<Type> to dispatcher : RequestDecoderDispatcher<State> in method public shouldLogAWarningIfThereIsNoDecoderForTheMessageType() : void in class org.neo4j.coreedge.catchup.RequestDecoderDispatcherTest | From | To | |
| Change Variable Type decoderDispatcher : RequestDecoderDispatcher<CatchupServerProtocol.NextMessage> to decoderDispatcher : RequestDecoderDispatcher<State> in method private decoders(protocol CatchupServerProtocol) : ChannelInboundHandler in class org.neo4j.coreedge.catchup.CatchupServer | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type protocol : Protocol<Type> to protocol : Protocol<State> in class org.neo4j.coreedge.catchup.RequestDecoderDispatcherTest | From | To | |
| Extract And Move Method | 1 | ||
| Extract And Move Method public select(map Map<E,T>) : T extracted from public channelRead(ctx ChannelHandlerContext, msg Object) : void in class org.neo4j.coreedge.catchup.RequestDecoderDispatcher & moved to class org.neo4j.coreedge.catchup.Protocol | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter next : E to state : E in method public expect(state E) : void in class org.neo4j.coreedge.catchup.Protocol | From | To |