3617f3ab89e8d09f742ca0c96ed0341981a4eae9
Files Diff
- Added: 0
- Removed: 3
- Renamed: 0
- Modified: 33
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Merge Attribute | 1 | ||
Merge Attribute [provider : ClusterManager.Provider, factory : HighlyAvailableGraphDatabaseFactory] to clusterManagerBuilder : ClusterManager.Builder in class org.neo4j.test.ha.ClusterRule | From | To | |
Rename Method | 2 | ||
Rename Method public provider(provider ClusterManager.Provider) : ClusterRule renamed to public withProvider(provider Provider) : ClusterRule in class org.neo4j.test.ha.ClusterRule | From | To | |
Rename Method public factory(factory HighlyAvailableGraphDatabaseFactory) : ClusterRule renamed to public withDbFactory(dbFactory HighlyAvailableGraphDatabaseFactory) : ClusterRule in class org.neo4j.test.ha.ClusterRule | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method public withCommonConfig(commonConfig Map<String,String>) : Builder moved from class org.neo4j.kernel.impl.ha.ClusterManager.Builder to class org.neo4j.test.ha.ClusterRule & inlined to public startCluster() : ClusterManager.ManagedCluster | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type commonConfig : Map<String,String> to commonConfig : Map<String,IntFunction<String>> in method private withDefaults(commonConfig Map<String,IntFunction<String>>) : Map<String,IntFunction<String>> in class org.neo4j.kernel.impl.ha.ClusterManager | From | To | |
Change Parameter Type provider : ClusterManager.Provider to provider : Provider in method public withProvider(provider Provider) : ClusterRule in class org.neo4j.test.ha.ClusterRule | From | To | |
Rename Variable | 1 | ||
Rename Variable changedData : DbRepresentation to afterChange : DbRepresentation in method public makeSureBackupCanBePerformedFromAnyInstance() : void in class org.neo4j.ha.BackupHaIT | From | To | |
Change Return Type | 1 | ||
Change Return Type Map<String,String> to Map<String,IntFunction<String>> in method private withDefaults(commonConfig Map<String,IntFunction<String>>) : Map<String,IntFunction<String>> in class org.neo4j.kernel.impl.ha.ClusterManager | From | To | |
Move Attribute | 2 | ||
Move Attribute private cluster : ManagedCluster from class jmx.HaBeanIT to private cluster : ManagedCluster from class org.neo4j.test.ha.ClusterRule | From | To | |
Move Attribute private cluster : ManagedCluster from class org.neo4j.ha.BackupHaIT to private cluster : ManagedCluster from class org.neo4j.test.ha.ClusterRule | From | To | |
Extract Variable | 2 | ||
Extract Variable name : String in method public apply(base Statement, description Description) : Statement from class org.neo4j.test.ha.ClusterRule | From | To | |
Extract Variable name : String in method public evaluate() : void from class org.neo4j.test.ha.ClusterRule.apply.testMethod | From | To | |
Change Variable Type | 2 | ||
Change Variable Type repairKit : ClusterManager.RepairKit to repairKit : RepairKit in method public testMasterElectionAfterMasterRecoversInSlaveOnlyCluster() : void in class org.neo4j.ha.TestSlaveOnlyCluster | From | To | |
Change Variable Type result : Map<String,String> to result : Map<String,IntFunction<String>> in method private withDefaults(commonConfig Map<String,IntFunction<String>>) : Map<String,IntFunction<String>> in class org.neo4j.kernel.impl.ha.ClusterManager | From | To | |
Extract Method | 1 | ||
Extract Method public directory(name String) : File extracted from public apply(base Statement, description Description) : Statement in class org.neo4j.test.ha.ClusterRule | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type commonConfig : Map<String,String> to commonConfig : Map<String,IntFunction<String>> in class org.neo4j.kernel.impl.ha.ClusterManager | From | To | |
Change Attribute Type cluster : ClusterManager.ManagedCluster to cluster : ManagedCluster in class org.neo4j.kernel.ha.HaCountsIT | From | To | |
Change Attribute Type commonConfig : Map<String,String> to commonConfig : Map<String,IntFunction<String>> in class org.neo4j.kernel.impl.ha.ClusterManager.Builder | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public withRootDirectory(root File) : Builder extracted from public startCluster() : ClusterManager.ManagedCluster in class org.neo4j.test.ha.ClusterRule & moved to class org.neo4j.kernel.impl.ha.ClusterManager.Builder | From | To | |
Rename Parameter | 1 | ||
Rename Parameter factory : HighlyAvailableGraphDatabaseFactory to dbFactory : HighlyAvailableGraphDatabaseFactory in method public withDbFactory(dbFactory HighlyAvailableGraphDatabaseFactory) : ClusterRule in class org.neo4j.test.ha.ClusterRule | From | To |