bf561e7b2c8b6b8ca6b52375881fa8f458579033
Files Diff
- Added: 6
- Removed: 4
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 5 | ||
Rename Method public stopCatchupServer() : void renamed to public disableCatchupServer() : void in class org.neo4j.causalclustering.discovery.CoreClusterMember | From | To | |
Rename Method private doStop() : void renamed to public stop0() : void in class org.neo4j.causalclustering.net.Server | From | To | |
Rename Method public stopCatchupServer() : void renamed to public disableCatchupServer() : void in class org.neo4j.causalclustering.core.EnterpriseCoreEditionModule | From | To | |
Rename Method private doStart() : void renamed to public start0() : void in class org.neo4j.causalclustering.net.Server | From | To | |
Rename Method public stopCatchupServer() : void renamed to public disableCatchupServer() : void in class org.neo4j.causalclustering.core.CoreGraphDatabase | From | To | |
Pull Up Method | 5 | ||
Pull Up Method public shutdown() : void from class org.neo4j.causalclustering.net.Server to public shutdown() : void from class org.neo4j.causalclustering.helper.EnableableLifeCycle | From | To | |
Pull Up Method public disable() : void from class org.neo4j.causalclustering.net.Server to public disable() : void from class org.neo4j.causalclustering.helper.EnableableLifeCycle | From | To | |
Pull Up Method public enable() : void from class org.neo4j.causalclustering.net.Server to public enable() : void from class org.neo4j.causalclustering.helper.EnableableLifeCycle | From | To | |
Pull Up Method public start() : void from class org.neo4j.causalclustering.net.Server to public start() : void from class org.neo4j.causalclustering.helper.EnableableLifeCycle | From | To | |
Pull Up Method public stop() : void from class org.neo4j.causalclustering.net.Server to public stop() : void from class org.neo4j.causalclustering.helper.EnableableLifeCycle | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type server : Server to enableable : Enableable in method package setEnableableState(enableable Enableable, enableableState EnableableState) : void in class org.neo4j.causalclustering.helper.ServerStateTestHelpers | From | To | |
Change Parameter Type server : Server to lifeCycle : StateAwareEnableableLifeCycle in method package setInitialState(lifeCycle StateAwareEnableableLifeCycle, state LifeCycleState) : void in class org.neo4j.causalclustering.helper.ServerStateTestHelpers | From | To | |
Pull Up Attribute | 2 | ||
Pull Up Attribute private enabled : boolean from class org.neo4j.causalclustering.net.Server to private enabled : boolean from class org.neo4j.causalclustering.helper.EnableableLifeCycle | From | To | |
Pull Up Attribute private stoppedByLifeCycle : boolean from class org.neo4j.causalclustering.net.Server to private stoppedByLifeCycle : boolean from class org.neo4j.causalclustering.helper.EnableableLifeCycle | From | To | |
Change Return Type | 1 | ||
Change Return Type boolean to LifeCycleState in method private expectedResult(state EnableableState, toLifeCycle LifeCycleState) : LifeCycleState in class org.neo4j.causalclustering.helper.ServeLifeCycleStateChangeTest | From | To | |
Extract Class | 2 | ||
Extract Class org.neo4j.causalclustering.helper.StateAwareEnableableLifeCycle from class org.neo4j.causalclustering.net.ServeLifeCycleStateChangeTest | From | To | |
Extract Class org.neo4j.causalclustering.helper.StateAwareEnableableLifeCycle from class org.neo4j.causalclustering.net.ServerEnableableStateChangeTest | From | To | |
Move Class | 4 | ||
Move Class org.neo4j.causalclustering.net.ServeLifeCycleStateChangeTest moved to org.neo4j.causalclustering.helper.ServeLifeCycleStateChangeTest | From | To | |
Move Class org.neo4j.causalclustering.net.ServerStateTestHelpers moved to org.neo4j.causalclustering.helper.ServerStateTestHelpers | From | To | |
Move Class org.neo4j.causalclustering.discovery.ErrorHandler moved to org.neo4j.causalclustering.helper.ErrorHandler | From | To | |
Move Class org.neo4j.causalclustering.net.ServerEnableableStateChangeTest moved to org.neo4j.causalclustering.helper.ServerEnableableStateChangeTest | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.neo4j.causalclustering.helper.EnableableLifeCycle from classes [org.neo4j.causalclustering.net.Server] | From | To | |
Rename Attribute | 2 | ||
Rename Attribute server : Server to lifeCycle : StateAwareEnableableLifeCycle in class org.neo4j.causalclustering.helper.ServeLifeCycleStateChangeTest | From | To | |
Rename Attribute server : Server to lifeCycle : StateAwareEnableableLifeCycle in class org.neo4j.causalclustering.helper.ServerEnableableStateChangeTest | From | To | |
Change Package | 1 | ||
Change Package org.neo4j.causalclustering.net to org.neo4j.causalclustering.helper | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type server : Server to lifeCycle : StateAwareEnableableLifeCycle in class org.neo4j.causalclustering.helper.ServeLifeCycleStateChangeTest | From | To | |
Change Attribute Type shouldBeRunning : boolean to shouldBeRunning : LifeCycleState in class org.neo4j.causalclustering.helper.ServeLifeCycleStateChangeTest | From | To | |
Change Attribute Type server : Server to lifeCycle : StateAwareEnableableLifeCycle in class org.neo4j.causalclustering.helper.ServerEnableableStateChangeTest | From | To | |
Rename Parameter | 2 | ||
Rename Parameter server : Server to enableable : Enableable in method package setEnableableState(enableable Enableable, enableableState EnableableState) : void in class org.neo4j.causalclustering.helper.ServerStateTestHelpers | From | To | |
Rename Parameter server : Server to lifeCycle : StateAwareEnableableLifeCycle in method package setInitialState(lifeCycle StateAwareEnableableLifeCycle, state LifeCycleState) : void in class org.neo4j.causalclustering.helper.ServerStateTestHelpers | From | To |