fd86667ffe9c36812107f41f03aa61bb7a9df067
Files Diff
- Added: 3
- Removed: 1
- Renamed: 0
- Modified: 22
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 8 | ||
Pull Up Method public toString() : String from class io.atomix.resource.AbstractResource to public toString() : String from class io.atomix.resource.Resource | From | To | |
Pull Up Method protected submit(query Query<R>) : CompletableFuture<R> from class io.atomix.resource.AbstractResource to protected submit(query Query<R>) : CompletableFuture<R> from class io.atomix.resource.Resource | From | To | |
Pull Up Method public hashCode() : int from class io.atomix.resource.AbstractResource to public hashCode() : int from class io.atomix.resource.Resource | From | To | |
Pull Up Method public with(consistency Consistency) : Resource from class io.atomix.resource.AbstractResource to public with(consistency Consistency) : Resource from class io.atomix.resource.Resource | From | To | |
Pull Up Method public context() : ThreadContext from class io.atomix.resource.AbstractResource to public context() : ThreadContext from class io.atomix.resource.Resource | From | To | |
Pull Up Method protected submit(command Command<R>) : CompletableFuture<R> from class io.atomix.resource.AbstractResource to protected submit(command Command<R>) : CompletableFuture<R> from class io.atomix.resource.Resource | From | To | |
Pull Up Method public equals(object Object) : boolean from class io.atomix.resource.AbstractResource to public equals(object Object) : boolean from class io.atomix.resource.Resource | From | To | |
Pull Up Method public delete() : CompletableFuture<Void> from class io.atomix.resource.AbstractResource to public delete() : CompletableFuture<Void> from class io.atomix.resource.Resource | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type commit : Commit<GetResource> to commit : Commit<? extends GetResource> in method protected getResource(commit Commit<? extends GetResource>) : long in class io.atomix.manager.ResourceManager | From | To | |
Change Parameter Type commit : Commit<CreateResource> to commit : Commit<? extends CreateResource> in method private createResource(commit Commit<? extends CreateResource>) : long in class io.atomix.manager.ResourceManager | From | To | |
Pull Up Attribute | 2 | ||
Pull Up Attribute protected client : RaftClient from class io.atomix.resource.AbstractResource to protected client : RaftClient from class io.atomix.resource.Resource | From | To | |
Pull Up Attribute private consistency : Consistency from class io.atomix.resource.AbstractResource to private consistency : Consistency from class io.atomix.resource.Resource | From | To | |
Move Attribute | 1 | ||
Move Attribute protected transport : Transport from class io.atomix.Atomix to private transport : Transport from class io.atomix.resource.InstanceFactory | From | To | |
Extract Class | 1 | ||
Extract Class io.atomix.resource.InstanceFactory from class io.atomix.Atomix | From | To | |
Merge Parameter | 2 | ||
Merge Parameter [client : CopycatClient, transport : Transport] to factory : InstanceFactory in method private AtomixReplica(factory InstanceFactory, server CopycatServer) in class io.atomix.AtomixReplica | From | To | |
Merge Parameter [client : CopycatClient, transport : Transport] to factory : InstanceFactory in method private AtomixClient(factory InstanceFactory) in class io.atomix.AtomixClient | From | To | |
Rename Parameter | 2 | ||
Rename Parameter path : String to key : String in method public GetResource(key String, type Class<? extends ResourceStateMachine>) in class io.atomix.manager.GetResource | From | To | |
Rename Parameter path : String to key : String in method public CreateResource(key String, type Class<? extends ResourceStateMachine>) in class io.atomix.manager.CreateResource | From | To |