40547a3edf708bc643a610880409bd6afe44dbce
Files Diff
- Added: 5
- Removed: 2
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method public resolveSubclasses() : Collection<Class<? extends T>> renamed to protected resolveTypes() : Collection<Class<? extends T>> in class io.bootique.config.TypesFactory | From | To | |
Rename Method package appendSubclasses(url URL, subclasses Collection<Class<? extends T>>) : void renamed to protected appendTypes(url URL, subclasses Collection<Class<? extends T>>) : void in class io.bootique.config.TypesFactory | From | To | |
Rename Method public createResolver() : SubtypeResolver renamed to public getTypes() : Collection<Class<? extends T>> in class io.bootique.config.TypesFactory | From | To | |
Rename Method public moduleMetadata(modulesMetadata Supplier<Collection<ModuleMetadata>>) : Builder renamed to public moduleSource(modulesSource Supplier<Collection<BQModule>>) : Builder in class io.bootique.BQCoreModule.Builder | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type moduleMetadata : Supplier<Collection<ModuleMetadata>> to moduleSource : Supplier<Collection<BQModule>> in method protected coreModuleProvider(moduleSource Supplier<Collection<BQModule>>) : BQModuleProvider in class io.bootique.Bootique | From | To | |
Change Parameter Type modulesMetadata : Supplier<Collection<ModuleMetadata>> to modulesSource : Supplier<Collection<BQModule>> in method public moduleSource(modulesSource Supplier<Collection<BQModule>>) : Builder in class io.bootique.BQCoreModule.Builder | From | To | |
Change Parameter Type subConfig : ConfigObjectMetadata to subConfig : ConfigMetadataNode in method public addSubConfig(subConfig ConfigMetadataNode) : Builder in class io.bootique.meta.config.ConfigObjectMetadata.Builder | From | To | |
Move Method | 2 | ||
Move Method private toConfigs(module BQModule) : Collection<ConfigMetadataNode> from class io.bootique.DeferredModuleMetadataSupplier to private toConfigs(module BQModule) : Collection<ConfigMetadataNode> from class io.bootique.meta.module.ModulesMetadataCompiler | From | To | |
Move Method private toModuleMetadata(module BQModule) : ModuleMetadata from class io.bootique.DeferredModuleMetadataSupplier to private toModuleMetadata(module BQModule) : ModuleMetadata from class io.bootique.meta.module.ModulesMetadataCompiler | From | To | |
Rename Variable | 9 | ||
Rename Variable sc6 : Map<Type,ConfigObjectMetadata> to sc2 : Map<Type,ConfigMetadataNode> in method public testCompile_Inheritance() : void in class io.bootique.meta.config.ConfigMetadataCompilerTest | From | To | |
Rename Variable subclasses : Collection<Class<? extends T>> to types : Collection<Class<? extends T>> in method protected resolveTypes() : Collection<Class<? extends T>> in class io.bootique.config.TypesFactory | From | To | |
Rename Variable sc5 : Map<Type,ConfigObjectMetadata> to sc1 : Map<Type,ConfigMetadataNode> in method public testCompile_Inheritance() : void in class io.bootique.meta.config.ConfigMetadataCompilerTest | From | To | |
Rename Variable c8 : ConfigObjectMetadata to c4 : ConfigObjectMetadata in method public testCompile_Inheritance() : void in class io.bootique.meta.config.ConfigMetadataCompilerTest | From | To | |
Rename Variable c7 : ConfigObjectMetadata to c3 : ConfigObjectMetadata in method public testCompile_Inheritance() : void in class io.bootique.meta.config.ConfigMetadataCompilerTest | From | To | |
Rename Variable c6 : ConfigObjectMetadata to c2 : ConfigObjectMetadata in method public testCompile_Inheritance() : void in class io.bootique.meta.config.ConfigMetadataCompilerTest | From | To | |
Rename Variable subtypes : Collection<Class<? extends T>> to types : Collection<Class<? extends T>> in method public getTypes() : Collection<Class<? extends T>> in class io.bootique.config.TypesFactory | From | To | |
Rename Variable moduleMetadata : DeferredModuleMetadataSupplier to modulesSource : DeferredModulesSource in method protected createInjector() : Injector in class io.bootique.Bootique | From | To | |
Rename Variable c5 : ConfigObjectMetadata to c1 : ConfigObjectMetadata in method public testCompile_Inheritance() : void in class io.bootique.meta.config.ConfigMetadataCompilerTest | From | To | |
Change Return Type | 4 | ||
Change Return Type SubtypeResolver to Collection<Class<? extends T>> in method public getTypes() : Collection<Class<? extends T>> in class io.bootique.config.TypesFactory | From | To | |
Change Return Type Collection<ConfigObjectMetadata> to Collection<ConfigMetadataNode> in method public getSubConfigs() : Collection<ConfigMetadataNode> in class io.bootique.meta.config.ConfigObjectMetadata | From | To | |
Change Return Type Stream<ConfigObjectMetadata> to Stream<ConfigMetadataNode> in method public getAllSubConfigs() : Stream<ConfigMetadataNode> in class io.bootique.meta.config.ConfigObjectMetadata | From | To | |
Change Return Type Collection<ModuleMetadata> to Collection<BQModule> in method public get() : Collection<BQModule> in class io.bootique.DeferredModulesSource | From | To | |
Move Attribute | 1 | ||
Move Attribute private configCompiler : ConfigMetadataCompiler from class io.bootique.DeferredModuleMetadataSupplier to private configCompiler : ConfigMetadataCompiler from class io.bootique.meta.module.ModulesMetadataCompiler | From | To | |
Extract Class | 1 | ||
Extract Class io.bootique.meta.module.ModulesMetadataCompiler from class io.bootique.DeferredModuleMetadataSupplier | From | To | |
Rename Class | 1 | ||
Rename Class io.bootique.DeferredModuleMetadataSupplier renamed to io.bootique.DeferredModulesSource | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class io.bootique.jackson.SubtypeResolverFactory moved and renamed to io.bootique.config.TypesFactory | From | To | |
Change Variable Type | 7 | ||
Change Variable Type all1 : List<ConfigObjectMetadata> to all1 : List<ConfigMetadataNode> in method public testGetAllSubconfigs() : void in class io.bootique.meta.config.ConfigObjectMetadataTest | From | To | |
Change Variable Type all4 : List<ConfigObjectMetadata> to all4 : List<ConfigMetadataNode> in method public testGetAllSubconfigs() : void in class io.bootique.meta.config.ConfigObjectMetadataTest | From | To | |
Change Variable Type moduleMetadata : DeferredModuleMetadataSupplier to modulesSource : DeferredModulesSource in method protected createInjector() : Injector in class io.bootique.Bootique | From | To | |
Change Variable Type sc6 : Map<Type,ConfigObjectMetadata> to sc2 : Map<Type,ConfigMetadataNode> in method public testCompile_Inheritance() : void in class io.bootique.meta.config.ConfigMetadataCompilerTest | From | To | |
Change Variable Type subconfigs : Stream<ConfigObjectMetadata> to subconfigs : Stream<ConfigMetadataNode> in method public getAllSubConfigs() : Stream<ConfigMetadataNode> in class io.bootique.meta.config.ConfigObjectMetadata | From | To | |
Change Variable Type sc5 : Map<Type,ConfigObjectMetadata> to sc1 : Map<Type,ConfigMetadataNode> in method public testCompile_Inheritance() : void in class io.bootique.meta.config.ConfigMetadataCompilerTest | From | To | |
Change Variable Type all6 : List<ConfigObjectMetadata> to all6 : List<ConfigMetadataNode> in method public testGetAllSubconfigs() : void in class io.bootique.meta.config.ConfigObjectMetadataTest | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type seen : Map<Type,ConfigMetadataNode> to seen : Map<Type,ConfigObjectMetadata> in class io.bootique.meta.config.ConfigMetadataCompiler | From | To | |
Change Attribute Type subConfigs : Collection<ConfigObjectMetadata> to subConfigs : Collection<ConfigMetadataNode> in class io.bootique.meta.config.ConfigObjectMetadata | From | To | |
Rename Parameter | 2 | ||
Rename Parameter moduleMetadata : Supplier<Collection<ModuleMetadata>> to moduleSource : Supplier<Collection<BQModule>> in method protected coreModuleProvider(moduleSource Supplier<Collection<BQModule>>) : BQModuleProvider in class io.bootique.Bootique | From | To | |
Rename Parameter modulesMetadata : Supplier<Collection<ModuleMetadata>> to modulesSource : Supplier<Collection<BQModule>> in method public moduleSource(modulesSource Supplier<Collection<BQModule>>) : Builder in class io.bootique.BQCoreModule.Builder | From | To |