9d0fc3c47f3b1115fc4128ec4cfa90351716123f
Files Diff
- Added: 6
- Removed: 1
- Renamed: 0
- Modified: 29
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method protected createClient() : CopycatClient renamed to protected createResource() : T in class io.atomix.testing.AbstractCopycatTest | From | To | |
Move Method | 2 | ||
Move Method public create(key String, type ResourceType<T>) : CompletableFuture<T> from class io.atomix.resource.InstanceFactory to public create(key String, type ResourceType<T>) : CompletableFuture<T> from class io.atomix.resource.InstanceManager | From | To | |
Move Method public get(key String, type ResourceType<T>) : CompletableFuture<T> from class io.atomix.resource.InstanceFactory to public get(key String, type ResourceType<T>) : CompletableFuture<T> from class io.atomix.resource.InstanceManager | From | To | |
Change Return Type | 4 | ||
Change Return Type CompletableFuture<InstanceFactory> to CompletableFuture<CopycatClient> in method public open() : CompletableFuture<CopycatClient> in class io.atomix.AtomixCopycatClient | From | To | |
Change Return Type CompletableFuture<Void> to CompletableFuture<CopycatClient> in method public recover() : CompletableFuture<CopycatClient> in class io.atomix.AtomixCopycatClient | From | To | |
Change Return Type ResourceType to ResourceType<DistributedValue<T>> in method public type() : ResourceType<DistributedValue<T>> in class io.atomix.variables.DistributedValue | From | To | |
Change Return Type CopycatClient to T in method protected createResource() : T in class io.atomix.testing.AbstractCopycatTest | From | To | |
Extract Class | 1 | ||
Extract Class io.atomix.resource.InstanceManager from class io.atomix.resource.InstanceFactory | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class io.atomix.resource.InstanceFactory moved and renamed to io.atomix.AtomixCopycatClient | From | To | |
Move Class | 1 | ||
Move Class io.atomix.resource.InstanceFactory.Instance.Method moved to io.atomix.resource.Instance.Method | From | To | |
Merge Parameter | 2 | ||
Merge Parameter [clientBuilder : CopycatClient.Builder, transport : Transport] to client : CopycatClient in method public AtomixReplica(client CopycatClient, server CopycatServer) in class io.atomix.AtomixReplica | From | To | |
Merge Parameter [builder : CopycatClient.Builder, transport : Transport] to client : CopycatClient in method public AtomixClient(client CopycatClient) in class io.atomix.AtomixClient | From | To | |
Rename Attribute | 2 | ||
Rename Attribute factory : InstanceFactory to client : CopycatClient in class io.atomix.Atomix | From | To | |
Rename Attribute clients : List<CopycatClient> to resources : List<T> in class io.atomix.testing.AbstractCopycatTest | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type factory : InstanceFactory to client : CopycatClient in class io.atomix.Atomix | From | To | |
Change Attribute Type clients : List<CopycatClient> to resources : List<T> in class io.atomix.testing.AbstractCopycatTest | From | To |