0421c24dfcf992f3296ed746469771e3800200e3
Files Diff
- Added: 145
- Removed: 51
- Renamed: 0
- Modified: 25
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 2 | ||
| Change Parameter Type context : CreationalContext<CdiCamelContext> to creational : CreationalContext<DefaultCamelContext> in method public destroy(instance DefaultCamelContext, creational CreationalContext<DefaultCamelContext>) : void in class org.apache.camel.cdi.CdiCamelContextBean | From | To | |
| Change Parameter Type instance : CdiCamelContext to instance : DefaultCamelContext in method public destroy(instance DefaultCamelContext, creational CreationalContext<DefaultCamelContext>) : void in class org.apache.camel.cdi.CdiCamelContextBean | From | To | |
| Move Attribute | 1 | ||
| Move Attribute private camelContexts : Instance<CamelContext> from class org.apache.camel.cdi.internal.CamelContextMap to package camelContexts : Instance<CamelContext> from class org.apache.camel.itest.cdi.CamelCdiTest | From | To | |
| Rename Class | 1 | ||
| Rename Class org.apache.camel.cdi.CdiBeanRegistry renamed to org.apache.camel.cdi.CdiCamelRegistry | From | To | |
| Move And Rename Class | 3 | ||
| Move And Rename Class org.apache.camel.cdi.support.ContextAwareBean moved and renamed to org.apache.camel.cdi.bean.CamelContextAwareBean | From | To | |
| Move And Rename Class org.apache.camel.cdi.internal.CamelContextBean moved and renamed to org.apache.camel.cdi.CdiCamelContextBean | From | To | |
| Move And Rename Class org.apache.camel.cdi.internal.CamelExtension.InjectLiteral moved and renamed to org.apache.camel.cdi.AnyLiteral | From | To | |
| Move Class | 1 | ||
| Move Class org.apache.camel.itest.cdi.properties.PropertiesConfigurationTest moved to org.apache.camel.itest.cdi.PropertiesConfigurationTest | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type entry : Map.Entry<String,CamelContext> to camelContext : CamelContext in method public checkContextsHaveCorrectEndpointsAndRoutes() : void in class org.apache.camel.itest.cdi.CamelCdiTest | From | To | |
| Change Variable Type entries : Set<Map.Entry<String,CamelContext>> to camelContexts : Instance<CamelContext> in method public checkContextsHaveCorrectEndpointsAndRoutes() : void in class org.apache.camel.itest.cdi.CamelCdiTest | From | To | |
| Inline Variable | 1 | ||
| Inline Variable name : String in method protected getCamelContextMap() : Map<String,CamelContext> from class org.apache.camel.cdi.Main | From | To | |
| Push Down Method | 2 | ||
| Push Down Method public start() : void from class org.apache.camel.cdi.CdiCamelContext to package postConstruct() : void from class org.apache.camel.cdi.bean.CustomLifecycleCamelContext | From | To | |
| Push Down Method public stop() : void from class org.apache.camel.cdi.CdiCamelContext to package preDestroy() : void from class org.apache.camel.cdi.bean.CustomLifecycleCamelContext | From | To | |
| Rename Variable | 2 | ||
| Rename Variable entry : Map.Entry<String,CamelContext> to camelContext : CamelContext in method public checkContextsHaveCorrectEndpointsAndRoutes() : void in class org.apache.camel.itest.cdi.CamelCdiTest | From | To | |
| Rename Variable beans : Map<String,T> to references : Map<String,T> in method public findByTypeWithName(type Class<T>) : Map<String,T> in class org.apache.camel.cdi.CdiCamelRegistry | From | To | |
| Change Return Type | 1 | ||
| Change Return Type Class<?> to Class<DefaultCamelContext> in method public getBeanClass() : Class<DefaultCamelContext> in class org.apache.camel.cdi.CdiCamelContextBean | From | To | |
| Replace Variable With Attribute | 1 | ||
| Replace Variable With Attribute entries : Set<Map.Entry<String,CamelContext>> to camelContexts : Instance<CamelContext> in method public checkContextsHaveCorrectEndpointsAndRoutes() : void in class org.apache.camel.itest.cdi.CamelCdiTest | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute camelContextName : String to qualifiers : Set<Annotation> in class org.apache.camel.cdi.CdiCamelContextBean | From | To | |
| Rename Attribute beanManager : BeanManager to manager : BeanManager in class org.apache.camel.cdi.CdiCamelRegistry | From | To | |
| Change Attribute Type | 3 | ||
| Change Attribute Type target : InjectionTarget<CdiCamelContext> to target : InjectionTarget<DefaultCamelContext> in class org.apache.camel.cdi.CdiCamelContextBean | From | To | |
| Change Attribute Type cdiContainer : Object to cdiContainer : CdiContainer in class org.apache.camel.cdi.Main | From | To | |
| Change Attribute Type camelContextName : String to qualifiers : Set<Annotation> in class org.apache.camel.cdi.CdiCamelContextBean | From | To | |
| Rename Parameter | 3 | ||
| Rename Parameter context : CreationalContext<CdiCamelContext> to creational : CreationalContext<DefaultCamelContext> in method public destroy(instance DefaultCamelContext, creational CreationalContext<DefaultCamelContext>) : void in class org.apache.camel.cdi.CdiCamelContextBean | From | To | |
| Rename Parameter beanManager : BeanManager to manager : BeanManager in method package CdiCamelContextBean(manager BeanManager, target InjectionTarget<DefaultCamelContext>) in class org.apache.camel.cdi.CdiCamelContextBean | From | To | |
| Rename Parameter beanManager : BeanManager to manager : BeanManager in method package CdiCamelRegistry(manager BeanManager) in class org.apache.camel.cdi.CdiCamelRegistry | From | To |