383de4768993f70c8eaa9ab0f3e805d64967741e
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 19
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public getExecutor() : Executor renamed to public getDefaultExecutor() : Executor in class net.kuujo.copycat.CopycatConfig | From | To | |
Rename Method public withExecutor(executor Executor) : CopycatConfig renamed to public withDefaultExecutor(executor Executor) : CopycatConfig in class net.kuujo.copycat.CopycatConfig | From | To | |
Rename Method public setExecutor(executor Executor) : void renamed to public setDefaultExecutor(executor Executor) : void in class net.kuujo.copycat.CopycatConfig | From | To | |
Change Return Type | 1 | ||
Change Return Type Class<? extends Serializer> to Serializer in method public getDefaultSerializer() : Serializer in class net.kuujo.copycat.CopycatConfig | From | To | |
Rename Attribute | 2 | ||
Rename Attribute COPYCAT_SERIALIZER : String to COPYCAT_DEFAULT_SERIALIZER : String in class net.kuujo.copycat.CopycatConfig | From | To | |
Rename Attribute COPYCAT_EXECUTOR : String to COPYCAT_DEFAULT_EXECUTOR : String in class net.kuujo.copycat.CopycatConfig | From | To | |
Extract Method | 8 | ||
Extract Method public multiMap(name String, config AsyncMultiMapConfig) : AsyncMultiMap<K,V> extracted from public multiMap(name String) : AsyncMultiMap<K,V> in class net.kuujo.copycat.internal.DefaultCopycat | From | To | |
Extract Method public map(name String, config AsyncMapConfig) : AsyncMap<K,V> extracted from public map(name String) : AsyncMap<K,V> in class net.kuujo.copycat.internal.DefaultCopycat | From | To | |
Extract Method public list(name String, config AsyncListConfig) : AsyncList<T> extracted from public list(name String) : AsyncList<T> in class net.kuujo.copycat.internal.DefaultCopycat | From | To | |
Extract Method public eventLog(name String, config EventLogConfig) : EventLog<T> extracted from public eventLog(name String) : EventLog<T> in class net.kuujo.copycat.internal.DefaultCopycat | From | To | |
Extract Method public lock(name String, config AsyncLockConfig) : AsyncLock extracted from public lock(name String) : AsyncLock in class net.kuujo.copycat.internal.DefaultCopycat | From | To | |
Extract Method public getResource(name String, config CoordinatedResourceConfig) : T extracted from public getResource(name String) : T in class net.kuujo.copycat.internal.cluster.coordinator.DefaultClusterCoordinator | From | To | |
Extract Method public set(name String, config AsyncSetConfig) : AsyncSet<T> extracted from public set(name String) : AsyncSet<T> in class net.kuujo.copycat.internal.DefaultCopycat | From | To | |
Extract Method public leaderElection(name String, config LeaderElectionConfig) : LeaderElection extracted from public leaderElection(name String) : LeaderElection in class net.kuujo.copycat.internal.DefaultCopycat | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public getDefaultExecutor() : Executor extracted from public resolve() : CoordinatorConfig in class net.kuujo.copycat.CopycatConfig & moved to class net.kuujo.copycat.cluster.coordinator.CoordinatedResourceConfig | From | To | |
Rename Parameter | 2 | ||
Rename Parameter serializerClass : Class<? extends Serializer> to serializer : Class<? extends Serializer> in method public setDefaultSerializer(serializer Class<? extends Serializer>) : void in class net.kuujo.copycat.CopycatConfig | From | To | |
Rename Parameter serializerClass : Class<? extends Serializer> to serializer : Class<? extends Serializer> in method public withDefaultSerializer(serializer Class<? extends Serializer>) : CopycatConfig in class net.kuujo.copycat.CopycatConfig | From | To |