6bfb973abee2e32305da76d6f83cbeb0a990c0b2
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 20
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public getHost() : String renamed to public getHostId() : String in class io.atomix.cluster.MemberConfig | From | To | |
Rename Method public getRack() : String renamed to public getRackId() : String in class io.atomix.cluster.MemberConfig | From | To | |
Rename Method public getZone() : String renamed to public getZoneId() : String in class io.atomix.cluster.MemberConfig | From | To | |
Pull Up Attribute | 1 | ||
Pull Up Attribute private host : String from class io.atomix.cluster.MemberConfig to private host : String from class io.atomix.cluster.NodeConfig | From | To | |
Change Return Type | 1 | ||
Change Return Type AtomixClusterBuilder to AtomixBuilder in method public withMembershipProtocol(protocol GroupMembershipProtocol) : AtomixBuilder in class io.atomix.core.AtomixBuilder | From | To | |
Rename Attribute | 3 | ||
Rename Attribute rack : String to rackId : String in class io.atomix.cluster.MemberConfig | From | To | |
Rename Attribute address : Address to port : int in class io.atomix.cluster.NodeConfig | From | To | |
Rename Attribute zone : String to zoneId : String in class io.atomix.cluster.MemberConfig | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type address : Address to port : int in class io.atomix.cluster.NodeConfig | From | To | |
Extract Method | 2 | ||
Extract Method public setZoneId(zoneId String) : MemberConfig extracted from public setZone(zone String) : MemberConfig in class io.atomix.cluster.MemberConfig | From | To | |
Extract Method public setRackId(rackId String) : MemberConfig extracted from public setRack(rack String) : MemberConfig in class io.atomix.cluster.MemberConfig | From | To | |
Extract And Move Method | 4 | ||
Extract And Move Method public withHostId(hostId String) : AtomixClusterBuilder extracted from protected buildClusterMembershipService(config ClusterConfig, bootstrapService BootstrapService, discoveryProvider NodeDiscoveryProvider, membershipProtocol GroupMembershipProtocol, version Version) : ManagedClusterMembershipService in class io.atomix.cluster.AtomixCluster & moved to class io.atomix.cluster.AtomixClusterBuilder | From | To | |
Extract And Move Method public withRackId(rackId String) : AtomixClusterBuilder extracted from protected buildClusterMembershipService(config ClusterConfig, bootstrapService BootstrapService, discoveryProvider NodeDiscoveryProvider, membershipProtocol GroupMembershipProtocol, version Version) : ManagedClusterMembershipService in class io.atomix.cluster.AtomixCluster & moved to class io.atomix.cluster.AtomixClusterBuilder | From | To | |
Extract And Move Method public withZoneId(zoneId String) : AtomixClusterBuilder extracted from protected buildClusterMembershipService(config ClusterConfig, bootstrapService BootstrapService, discoveryProvider NodeDiscoveryProvider, membershipProtocol GroupMembershipProtocol, version Version) : ManagedClusterMembershipService in class io.atomix.cluster.AtomixCluster & moved to class io.atomix.cluster.AtomixClusterBuilder | From | To | |
Extract And Move Method public withHost(host String) : NodeBuilder extracted from public withHost(host String) : MemberBuilder in class io.atomix.cluster.MemberBuilder & moved to class io.atomix.cluster.NodeBuilder | From | To | |
Rename Parameter | 2 | ||
Rename Parameter zone : String to zoneId : String in method public setZoneId(zoneId String) : MemberConfig in class io.atomix.cluster.MemberConfig | From | To | |
Rename Parameter rack : String to rackId : String in method public setRackId(rackId String) : MemberConfig in class io.atomix.cluster.MemberConfig | From | To |