8eea6b147ad059ce0925a370d765711bf37df17e
Files Diff
- Added: 12
- Removed: 2
- Renamed: 0
- Modified: 24
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 8 | ||
Change Parameter Type type : Class<? extends ResourceStateMachine> to type : int in method public CreateResourceIfExists(key String, type int) in class io.atomix.manager.CreateResourceIfExists | From | To | |
Change Parameter Type type : Class<? super T> to type : ResourceType<T> in method public create(key String, type ResourceType<T>) : CompletableFuture<T> in class io.atomix.resource.InstanceFactory | From | To | |
Change Parameter Type type : Class<? super T> to type : ResourceType<T> in method public get(key String, type ResourceType<T>) : CompletableFuture<T> in class io.atomix.resource.InstanceFactory | From | To | |
Change Parameter Type type : Class<? extends ResourceStateMachine> to type : int in method public GetResource(key String, type int) in class io.atomix.manager.GetResource | From | To | |
Change Parameter Type type : Class<? extends ResourceStateMachine> to type : int in method public CreateResource(key String, type int) in class io.atomix.manager.CreateResource | From | To | |
Change Parameter Type type : Class<? extends ResourceStateMachine> to type : int in method public GetResourceKeys(type int) in class io.atomix.manager.GetResourceKeys | From | To | |
Change Parameter Type type : Class<? super T> to type : ResourceType in method private Instance(key String, type ResourceType, method Method, instance T) in class io.atomix.resource.InstanceFactory.Instance | From | To | |
Change Parameter Type type : Class<? extends ResourceStateMachine> to type : int in method public GetResourceIfExists(key String, type int) in class io.atomix.manager.GetResourceIfExists | From | To | |
Rename Variable | 1 | ||
Rename Variable stateMachineType : Class<? extends ResourceStateMachine> to resourceType : ResourceType in method protected getResourceKeys(commit Commit<GetResourceKeys>) : Set<String> in class io.atomix.manager.ResourceManager | From | To | |
Change Return Type | 3 | ||
Change Return Type Class<? extends ResourceStateMachine> to int in method public type() : int in class io.atomix.manager.GetResourceKeys | From | To | |
Change Return Type Class<? extends ResourceStateMachine> to int in method public type() : int in class io.atomix.manager.GetResource | From | To | |
Change Return Type Class<? extends ResourceStateMachine> to int in method public type() : int in class io.atomix.manager.CreateResource | From | To | |
Change Variable Type | 1 | ||
Change Variable Type stateMachineType : Class<? extends ResourceStateMachine> to resourceType : ResourceType in method protected getResourceKeys(commit Commit<GetResourceKeys>) : Set<String> in class io.atomix.manager.ResourceManager | From | To | |
Extract Method | 1 | ||
Extract Method public keys(type ResourceType<T>) : CompletableFuture<Set<String>> extracted from public keys(type Class<? super T>) : CompletableFuture<Set<String>> in class io.atomix.resource.InstanceFactory | From | To | |
Change Attribute Type | 4 | ||
Change Attribute Type type : Class<? extends ResourceStateMachine> to type : int in class io.atomix.manager.GetResource | From | To | |
Change Attribute Type type : Class<? extends ResourceStateMachine> to type : int in class io.atomix.manager.GetResourceKeys | From | To | |
Change Attribute Type type : Class<? extends ResourceStateMachine> to type : int in class io.atomix.manager.CreateResource | From | To | |
Change Attribute Type type : Class<? super T> to type : ResourceType in class io.atomix.resource.InstanceFactory.Instance | From | To |