f777ed28a16b832740901c1fb4c971bf99ea7073
Files Diff
- Added: 4
- Removed: 2
- Renamed: 0
- Modified: 18
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 2 | ||
| Change Parameter Type log : Logger to loggerContext : LoggerContext in method public RaftProxyConnection(protocol RaftClientProtocol, selector NodeSelector, context ThreadContext, loggerContext LoggerContext) in class io.atomix.protocols.raft.proxy.impl.RaftProxyConnection | From | To | |
| Change Parameter Type context : String to context : LoggerContext in method public ContextualLogger(delegate Logger, context LoggerContext) in class io.atomix.utils.logging.ContextualLogger | From | To | |
| Move Method | 2 | ||
| Move Method public builder(clazz Class) : Builder from class io.atomix.utils.ContextualLogger to public builder(clazz Class) : Builder from class io.atomix.utils.logging.LoggerContext | From | To | |
| Move Method public builder(name String) : Builder from class io.atomix.utils.ContextualLogger to public builder(name String) : Builder from class io.atomix.utils.logging.LoggerContext | From | To | |
| Extract Class | 1 | ||
| Extract Class io.atomix.utils.logging.LoggerContext from class io.atomix.utils.ContextualLogger | From | To | |
| Move Class | 2 | ||
| Move Class io.atomix.utils.ContextualLogger moved to io.atomix.utils.logging.ContextualLogger | From | To | |
| Move Class io.atomix.utils.DelegatingLogger moved to io.atomix.utils.logging.DelegatingLogger | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute name : String to serviceName : String in class io.atomix.protocols.raft.impl.RaftServerServiceContext | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type context : String to context : LoggerContext in class io.atomix.utils.logging.ContextualLogger | From | To | |
| Inline Variable | 1 | ||
| Inline Variable connectionLog : Logger in method public RaftProxyManager(clientId String, memberId MemberId, protocol RaftClientProtocol, selectorManager NodeSelectorManager, threadPoolExecutor ScheduledExecutorService) from class io.atomix.protocols.raft.proxy.impl.RaftProxyManager | From | To | |
| Extract And Move Method | 1 | ||
| Extract And Move Method public toString() : String extracted from public toString() : String in class io.atomix.protocols.raft.session.impl.RaftSessionContext & moved to class io.atomix.protocols.raft.impl.RaftServerServiceContext | From | To | |
| Rename Parameter | 3 | ||
| Rename Parameter log : Logger to loggerContext : LoggerContext in method public RaftProxyConnection(protocol RaftClientProtocol, selector NodeSelector, context ThreadContext, loggerContext LoggerContext) in class io.atomix.protocols.raft.proxy.impl.RaftProxyConnection | From | To | |
| Rename Parameter id : StateMachineId to stateMachineId : StateMachineId in method package RaftServerServiceContext(stateMachineId StateMachineId, serviceName String, serviceType ServiceType, stateMachine RaftStateMachine, server RaftServerContext, sessionManager RaftSessionManager, stateMachineExecutor ThreadContext, snapshotExecutor ThreadContext) in class io.atomix.protocols.raft.impl.RaftServerServiceContext | From | To | |
| Rename Parameter name : String to serviceName : String in method package RaftServerServiceContext(stateMachineId StateMachineId, serviceName String, serviceType ServiceType, stateMachine RaftStateMachine, server RaftServerContext, sessionManager RaftSessionManager, stateMachineExecutor ThreadContext, snapshotExecutor ThreadContext) in class io.atomix.protocols.raft.impl.RaftServerServiceContext | From | To |