b15e27d4c332ba46df00135e5cd57e4c4483ea9d
Files Diff
- Added: 3
- Removed: 2
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public shouldPickTheFirstMatchingServer() : void renamed to public shouldPickTheFirstMatchingServerIfCore() : void in class org.neo4j.causalclustering.readreplica.UserDefinedConfigurationStrategyTest | From | To | |
Pull Up Method | 4 | ||
Pull Up Method public find(memberId MemberId) : Optional<CoreServerInfo> from class org.neo4j.causalclustering.discovery.CoreTopology to public find(memberId MemberId) : Optional<T> from class org.neo4j.causalclustering.discovery.Topology | From | To | |
Pull Up Method package find(memberId MemberId) : Optional<ReadReplicaInfo> from class org.neo4j.causalclustering.discovery.ReadReplicaTopology to public find(memberId MemberId) : Optional<T> from class org.neo4j.causalclustering.discovery.Topology | From | To | |
Pull Up Method package difference(other ReadReplicaTopology) : TopologyDifference from class org.neo4j.causalclustering.discovery.ReadReplicaTopology to public difference(other Topology<T>) : TopologyDifference from class org.neo4j.causalclustering.discovery.Topology | From | To | |
Pull Up Method package difference(other CoreTopology) : TopologyDifference from class org.neo4j.causalclustering.discovery.CoreTopology to public difference(other Topology<T>) : TopologyDifference from class org.neo4j.causalclustering.discovery.Topology | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type other : CoreTopology to other : Topology<T> in method public difference(other Topology<T>) : TopologyDifference in class org.neo4j.causalclustering.discovery.Topology | From | To | |
Change Parameter Type other : ReadReplicaTopology to other : Topology<T> in method public difference(other Topology<T>) : TopologyDifference in class org.neo4j.causalclustering.discovery.Topology | From | To | |
Change Parameter Type topology : CoreTopology to topology : Topology<T> in method package asDifference(topology Topology<T>, memberId MemberId) : Difference in class org.neo4j.causalclustering.discovery.Difference | From | To | |
Change Return Type | 2 | ||
Change Return Type Optional<CoreServerInfo> to Optional<T> in method public find(memberId MemberId) : Optional<T> in class org.neo4j.causalclustering.discovery.Topology | From | To | |
Change Return Type Optional<ReadReplicaInfo> to Optional<T> in method public find(memberId MemberId) : Optional<T> in class org.neo4j.causalclustering.discovery.Topology | From | To | |
Rename Class | 1 | ||
Rename Class org.neo4j.causalclustering.discovery.CoreTopologyTest renamed to org.neo4j.causalclustering.discovery.TopologyTest | From | To | |
Change Variable Type | 2 | ||
Change Variable Type newMembers : Map<MemberId,CoreServerInfo> to newMembers : Map<MemberId,ReadReplicaInfo> in method public shouldDetectAddedMembers() : void in class org.neo4j.causalclustering.discovery.TopologyTest | From | To | |
Change Variable Type newMembers : Map<MemberId,CoreServerInfo> to newMembers : Map<MemberId,ReadReplicaInfo> in method public shouldDetectRemovedMembers() : void in class org.neo4j.causalclustering.discovery.TopologyTest | From | To | |
Extract Interface | 1 | ||
Extract Interface org.neo4j.causalclustering.discovery.DiscoveryServerInfo from classes [org.neo4j.causalclustering.discovery.CoreServerInfo, org.neo4j.causalclustering.discovery.ReadReplicaInfo] | From | To | |
Extract Method | 2 | ||
Extract Method package fakeReadReplicaTopology(readReplicaIds MemberId[], groupGenerator Function<MemberId,Set<String>>) : ReadReplicaTopology extracted from package fakeReadReplicaTopology(readReplicaIds MemberId...) : ReadReplicaTopology in class org.neo4j.causalclustering.readreplica.UserDefinedConfigurationStrategyTest | From | To | |
Extract Method private configWithFilter(filter String) : Config extracted from public shouldPickTheFirstMatchingServer() : void in class org.neo4j.causalclustering.readreplica.UserDefinedConfigurationStrategyTest | From | To |