d68cae0c8a79f62453febb674e297a44d341ef28
Files Diff
- Added: 8
- Removed: 5
- Renamed: 0
- Modified: 29
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Merge Attribute | 1 | ||
Merge Attribute [sendCode : String, templateId : int, appId : int, survivalDuration : int] to portalConfig : PortalConfig in class com.ctrip.framework.apollo.portal.spi.ctrip.CtripEmailRequestBuilder | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type serverConfigService : ServerConfigService to portalConfig : PortalConfig in method public CtripUserService(portalConfig PortalConfig) in class com.ctrip.framework.apollo.portal.spi.ctrip.CtripUserService | From | To | |
Change Parameter Type serverConfigService : ServerConfigService to portalConfig : PortalConfig in method public ctripUserService(portalConfig PortalConfig) : UserService in class com.ctrip.framework.apollo.portal.spi.configuration.AuthConfiguration.CtripAuthAutoConfiguration | From | To | |
Move Attribute | 4 | ||
Move Attribute private gson : Gson from class com.ctrip.framework.apollo.portal.controller.OrganizationController to private gson : Gson from class com.ctrip.framework.apollo.portal.components.config.PortalConfig | From | To | |
Move Attribute private gson : Gson from class com.ctrip.framework.apollo.biz.service.ItemService to private gson : Gson from class com.ctrip.framework.apollo.biz.config.BizConfig | From | To | |
Move Attribute private serverConfigRepository : ServerConfigRepository from class com.ctrip.framework.apollo.biz.service.ServerConfigService to private serverConfigRepository : ServerConfigRepository from class com.ctrip.framework.apollo.portal.service.PortalDBPropertySource | From | To | |
Move Attribute private namespaceValueLengthOverrideTypeReference : Type from class com.ctrip.framework.apollo.biz.service.ItemService to private namespaceValueLengthOverrideTypeReference : Type from class com.ctrip.framework.apollo.biz.config.BizConfig | From | To | |
Extract Class | 3 | ||
Extract Class com.ctrip.framework.apollo.biz.config.BizConfig from class com.ctrip.framework.apollo.biz.service.ItemService | From | To | |
Extract Class com.ctrip.framework.apollo.portal.components.config.PortalConfig from class com.ctrip.framework.apollo.portal.controller.OrganizationController | From | To | |
Extract Class com.ctrip.framework.apollo.portal.service.PortalDBPropertySource from class com.ctrip.framework.apollo.biz.service.ServerConfigService | From | To | |
Move And Rename Class | 2 | ||
Move And Rename Class com.ctrip.framework.apollo.biz.utils.ApolloSwitcher moved and renamed to com.ctrip.framework.apollo.biz.config.BizConfig | From | To | |
Move And Rename Class com.ctrip.framework.apollo.biz.service.ServerConfigService moved and renamed to com.ctrip.framework.apollo.portal.components.config.PortalConfig | From | To | |
Rename Attribute | 5 | ||
Rename Attribute apolloSwitcher : ApolloSwitcher to bizConfig : BizConfig in class com.ctrip.framework.apollo.adminservice.aop.NamespaceLockTest | From | To | |
Rename Attribute serverConfigService : ServerConfigService to bizConfig : BizConfig in class com.ctrip.framework.apollo.biz.grayReleaseRule.GrayReleaseRulesHolderTest | From | To | |
Rename Attribute serverConfigService : ServerConfigService to portalConfig : PortalConfig in class com.ctrip.framework.apollo.openapi.service.ConsumerServiceTest | From | To | |
Rename Attribute apolloSwitcher : ApolloSwitcher to bizConfig : BizConfig in class com.ctrip.framework.apollo.adminservice.aop.NamespaceLockAspect | From | To | |
Rename Attribute apolloSwitcher : ApolloSwitcher to bizConfig : BizConfig in class com.ctrip.framework.apollo.adminservice.controller.NamespaceLockController | From | To | |
Split Attribute | 1 | ||
Split Attribute serverConfigService : ServerConfigService to [someUserServiceUrl : String, portalConfig : PortalConfig, someUserServiceToken : String] in class com.ctrip.framework.apollo.portal.spi.ctrip.CtripUserServiceTest | From | To | |
Change Attribute Type | 5 | ||
Change Attribute Type apolloSwitcher : ApolloSwitcher to bizConfig : BizConfig in class com.ctrip.framework.apollo.adminservice.aop.NamespaceLockTest | From | To | |
Change Attribute Type serverConfigService : ServerConfigService to bizConfig : BizConfig in class com.ctrip.framework.apollo.biz.grayReleaseRule.GrayReleaseRulesHolderTest | From | To | |
Change Attribute Type apolloSwitcher : ApolloSwitcher to bizConfig : BizConfig in class com.ctrip.framework.apollo.adminservice.aop.NamespaceLockAspect | From | To | |
Change Attribute Type serverConfigService : ServerConfigService to portalConfig : PortalConfig in class com.ctrip.framework.apollo.openapi.service.ConsumerServiceTest | From | To | |
Change Attribute Type apolloSwitcher : ApolloSwitcher to bizConfig : BizConfig in class com.ctrip.framework.apollo.adminservice.controller.NamespaceLockController | From | To | |
Rename Parameter | 2 | ||
Rename Parameter serverConfigService : ServerConfigService to portalConfig : PortalConfig in method public CtripUserService(portalConfig PortalConfig) in class com.ctrip.framework.apollo.portal.spi.ctrip.CtripUserService | From | To | |
Rename Parameter serverConfigService : ServerConfigService to portalConfig : PortalConfig in method public ctripUserService(portalConfig PortalConfig) : UserService in class com.ctrip.framework.apollo.portal.spi.configuration.AuthConfiguration.CtripAuthAutoConfiguration | From | To |