766a28abe135381fd601fbd0f7d70a89decacd2a
Files Diff
- Added: 13
- Removed: 7
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Push Down Method | 2 | ||
Push Down Method private isPolymorphicType(clazz Class<?>) : boolean from class io.atomix.utils.config.ConfigMapper to private isPolymorphicType(clazz Class<?>) : boolean from class io.atomix.core.utils.config.PolymorphicConfigMapper | From | To | |
Push Down Method public ConfigMapper(classLoader ClassLoader, polymorphicTypeMappers PolymorphicTypeMapper...) from class io.atomix.utils.config.ConfigMapper to public PolymorphicConfigMapper(classLoader ClassLoader, registry AtomixRegistry, polymorphicTypeMappers PolymorphicTypeMapper...) from class io.atomix.core.utils.config.PolymorphicConfigMapper | From | To | |
Change Parameter Type | 7 | ||
Change Parameter Type registry : RegistryConfig to registry : AtomixRegistry in method private findPrimitiveType(primitiveClass Class<? extends DistributedPrimitive>, registry AtomixRegistry) : PrimitiveType in class io.atomix.core.PrimitiveTypes | From | To | |
Change Parameter Type registry : RegistryService to registry : AtomixRegistry in method public ImmutableAtomixRegistry(registry AtomixRegistry) in class io.atomix.core.registry.impl.ImmutableAtomixRegistry | From | To | |
Change Parameter Type registryService : RegistryService to registry : AtomixRegistry in method public CorePrimitivesService(executorService ScheduledExecutorService, membershipService ClusterMembershipService, communicationService ClusterCommunicationService, eventService ClusterEventingService, partitionService PartitionService, registry AtomixRegistry, configService ConfigService) in class io.atomix.core.impl.CorePrimitivesService | From | To | |
Change Parameter Type registryService : RegistryService to registry : AtomixRegistry in method private buildPartitionService(config AtomixConfig, clusterMembershipService ClusterMembershipService, messagingService ClusterCommunicationService, registry AtomixRegistry) : ManagedPartitionService in class io.atomix.core.Atomix | From | To | |
Change Parameter Type registry : RegistryService to registry : AtomixRegistry in method public PrimitiveProtocolDeserializer(registry AtomixRegistry) in class io.atomix.rest.impl.PrimitiveProtocolDeserializer | From | To | |
Change Parameter Type registry : RegistryService to registry : AtomixRegistry in method public PrimitiveConfigDeserializer(registry AtomixRegistry) in class io.atomix.rest.impl.PrimitiveConfigDeserializer | From | To | |
Change Parameter Type registry : RegistryService to registry : AtomixRegistry in method public PartitionGroupDeserializer(registry AtomixRegistry) in class io.atomix.rest.impl.PartitionGroupDeserializer | From | To | |
Change Return Type | 1 | ||
Change Return Type RegistryService to AtomixRegistry in method public registryService() : AtomixRegistry in class io.atomix.core.Atomix | From | To | |
Rename Class | 3 | ||
Rename Class io.atomix.core.registry.impl.DefaultRegistryService renamed to io.atomix.core.registry.impl.DefaultAtomixRegistry | From | To | |
Rename Class io.atomix.core.registry.impl.ImmutableRegistryService renamed to io.atomix.core.registry.impl.ImmutableAtomixRegistry | From | To | |
Rename Class io.atomix.core.registry.RegistryService renamed to io.atomix.core.registry.AtomixRegistry | From | To | |
Extract Method | 2 | ||
Extract Method protected newInstance(config Config, clazz Class<T>) : T extracted from private map(config Config, path String, name String, clazz Class<T>, rootConfig Config) : T in class io.atomix.utils.config.ConfigMapper | From | To | |
Extract Method protected checkRemainingProperties(propertyNames Set<String>, path String, clazz Class<?>) : void extracted from private map(config Config, path String, name String, clazz Class<T>, rootConfig Config) : T in class io.atomix.utils.config.ConfigMapper | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type registry : RegistryService to registry : AtomixRegistry in class io.atomix.core.Atomix | From | To | |
Rename Parameter | 2 | ||
Rename Parameter registryService : RegistryService to registry : AtomixRegistry in method private buildPartitionService(config AtomixConfig, clusterMembershipService ClusterMembershipService, messagingService ClusterCommunicationService, registry AtomixRegistry) : ManagedPartitionService in class io.atomix.core.Atomix | From | To | |
Rename Parameter registryService : RegistryService to registry : AtomixRegistry in method public CorePrimitivesService(executorService ScheduledExecutorService, membershipService ClusterMembershipService, communicationService ClusterCommunicationService, eventService ClusterEventingService, partitionService PartitionService, registry AtomixRegistry, configService ConfigService) in class io.atomix.core.impl.CorePrimitivesService | From | To |