dc4cd7baa48b0de1a1b1e64c3541247f85bbe284
Files Diff
- Added: 3
- Removed: 2
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 5 | ||
Move And Inline Method public getSerializer() : Serializer moved from class io.atomix.primitive.PrimitiveConfig to class io.atomix.primitive.DistributedPrimitiveBuilder & inlined to public serializer() : Serializer | From | To | |
Move And Inline Method public getSerializer() : Serializer moved from class io.atomix.primitive.PrimitiveConfig to class io.atomix.core.election.LeaderElectionBuilder & inlined to public serializer() : Serializer | From | To | |
Move And Inline Method public getSerializer() : Serializer moved from class io.atomix.primitive.PrimitiveConfig to class io.atomix.core.election.LeaderElectorBuilder & inlined to public serializer() : Serializer | From | To | |
Move And Inline Method public setSerializer(serializer Serializer) : C moved from class io.atomix.primitive.PrimitiveConfig to class io.atomix.primitive.DistributedPrimitiveBuilder & inlined to public withSerializer(serializer Serializer) : B | From | To | |
Move And Inline Method public getProtocol() : PrimitiveProtocol moved from class io.atomix.primitive.PrimitiveConfig to class io.atomix.primitive.DistributedPrimitiveBuilder & inlined to public protocol() : PrimitiveProtocol | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type primitiveTypes : PrimitiveTypeConfigs to types : Collection<Class<? extends PrimitiveType>> in method public setPrimitiveTypes(types Collection<Class<? extends PrimitiveType>>) : AtomixConfig in class io.atomix.core.AtomixConfig | From | To | |
Change Parameter Type config : PrimitiveTypeConfigs to types : Collection<Class<? extends PrimitiveType>> in method public PrimitiveTypeRegistry(types Collection<Class<? extends PrimitiveType>>) in class io.atomix.primitive.PrimitiveTypeRegistry | From | To | |
Change Parameter Type primitiveConfigs : PrimitiveConfigs to config : AtomixConfig in method public CorePrimitivesService(clusterService ClusterService, communicationService ClusterMessagingService, eventService ClusterEventingService, partitionService PartitionService, config AtomixConfig) in class io.atomix.core.impl.CorePrimitivesService | From | To | |
Move Method | 1 | ||
Move Method public getPrimitive(name String) : C from class io.atomix.primitive.PrimitiveConfigs to public getPrimitive(name String) : C from class io.atomix.core.AtomixConfig | From | To | |
Change Return Type | 2 | ||
Change Return Type PrimitiveTypeConfigs to Collection<Class<? extends PrimitiveType>> in method public getPrimitiveTypes() : Collection<Class<? extends PrimitiveType>> in class io.atomix.core.AtomixConfig | From | To | |
Change Return Type PrimitiveConfigs to Map<String,PrimitiveConfig> in method public getPrimitives() : Map<String,PrimitiveConfig> in class io.atomix.core.AtomixConfig | From | To | |
Move Attribute | 2 | ||
Move Attribute private serializer : Serializer from class io.atomix.primitive.PrimitiveConfig to protected serializer : Serializer from class io.atomix.primitive.DistributedPrimitiveBuilder | From | To | |
Move Attribute private protocol : PrimitiveProtocol from class io.atomix.primitive.PrimitiveConfig to protected protocol : PrimitiveProtocol from class io.atomix.primitive.DistributedPrimitiveBuilder | From | To | |
Rename Attribute | 2 | ||
Rename Attribute primitiveTypes : PrimitiveTypeConfigs to types : Collection<Class<? extends PrimitiveType>> in class io.atomix.core.AtomixConfig | From | To | |
Rename Attribute primitiveConfigs : PrimitiveConfigs to config : AtomixConfig in class io.atomix.core.impl.CorePrimitivesService | From | To | |
Extract Variable | 1 | ||
Extract Variable type : PrimitiveType in method public PrimitiveTypeRegistry(types Collection<Class<? extends PrimitiveType>>) from class io.atomix.primitive.PrimitiveTypeRegistry | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type primitiveConfigs : PrimitiveConfigs to config : AtomixConfig in class io.atomix.core.impl.CorePrimitivesService | From | To | |
Change Attribute Type primitiveTypes : PrimitiveTypeConfigs to types : Collection<Class<? extends PrimitiveType>> in class io.atomix.core.AtomixConfig | From | To | |
Change Attribute Type primitives : PrimitiveConfigs to primitives : Map<String,PrimitiveConfig> in class io.atomix.core.AtomixConfig | From | To | |
Rename Parameter | 3 | ||
Rename Parameter primitiveTypes : PrimitiveTypeConfigs to types : Collection<Class<? extends PrimitiveType>> in method public setPrimitiveTypes(types Collection<Class<? extends PrimitiveType>>) : AtomixConfig in class io.atomix.core.AtomixConfig | From | To | |
Rename Parameter config : PrimitiveTypeConfigs to types : Collection<Class<? extends PrimitiveType>> in method public PrimitiveTypeRegistry(types Collection<Class<? extends PrimitiveType>>) in class io.atomix.primitive.PrimitiveTypeRegistry | From | To | |
Rename Parameter primitiveConfigs : PrimitiveConfigs to config : AtomixConfig in method public CorePrimitivesService(clusterService ClusterService, communicationService ClusterMessagingService, eventService ClusterEventingService, partitionService PartitionService, config AtomixConfig) in class io.atomix.core.impl.CorePrimitivesService | From | To |