|
Rename Variable instanceConfigs : List<InstanceConfig> to instanceConfigsPage : Page<InstanceConfig> in method public getByRelease(releaseId long, pageable Pageable) : PageDTO<InstanceDTO> in class com.ctrip.framework.apollo.adminservice.controller.InstanceConfigController |
From |
To |
|
Rename Variable someInvalidConfig : InstanceConfig to someConfig : InstanceConfig in method private prepareInstanceConfigForInstance(instanceId long, configAppId String, configClusterName String, configNamespace String, releaseKey String, lastModifiedTime Date) : InstanceConfig in class com.ctrip.framework.apollo.biz.service.InstanceServiceTest |
From |
To |
|
Rename Variable someValidConfig : InstanceConfig to someConfig : InstanceConfig in method private prepareInstanceConfigForInstance(instanceId long, configAppId String, configClusterName String, configNamespace String, releaseKey String, lastModifiedTime Date) : InstanceConfig in class com.ctrip.framework.apollo.biz.service.InstanceServiceTest |
From |
To |
|
Change Return Type List<InstanceConfig> to Page<InstanceConfig> in method public findActiveInstanceConfigsByReleaseKey(releaseKey String, pageable Pageable) : Page<InstanceConfig> in class com.ctrip.framework.apollo.biz.service.InstanceService |
From |
To |
|
Change Return Type void to boolean in method private refreshServerAddressCache(env Env) : boolean in class com.ctrip.framework.apollo.portal.api.AdminServiceAddressLocator |
From |
To |
|
Change Return Type List<InstanceConfig> to Page<InstanceConfig> in method public findByReleaseKeyAndDataChangeLastModifiedTimeAfter(releaseKey String, validDate Date, pageable Pageable) : Page<InstanceConfig> in class com.ctrip.framework.apollo.biz.repository.InstanceConfigRepository |
From |
To |
|
Change Return Type List<InstanceDTO> to PageDTO<InstanceDTO> in method public getByRelease(releaseId long, pageable Pageable) : PageDTO<InstanceDTO> in class com.ctrip.framework.apollo.adminservice.controller.InstanceConfigController |
From |
To |
|
Parameterize Variable someInstanceId : long to instanceId : long in method private prepareInstanceConfigForInstance(instanceId long, configAppId String, configClusterName String, configNamespace String, releaseKey String, lastModifiedTime Date) : InstanceConfig in class com.ctrip.framework.apollo.biz.service.InstanceServiceTest |
From |
To |
|
Parameterize Variable someConfigNamespaceName : String to configNamespace : String in method private prepareInstanceConfigForInstance(instanceId long, configAppId String, configClusterName String, configNamespace String, releaseKey String, lastModifiedTime Date) : InstanceConfig in class com.ctrip.framework.apollo.biz.service.InstanceServiceTest |
From |
To |
|
Parameterize Variable someValidDate : Date to lastModifiedTime : Date in method private prepareInstanceConfigForInstance(instanceId long, configAppId String, configClusterName String, configNamespace String, releaseKey String, lastModifiedTime Date) : InstanceConfig in class com.ctrip.framework.apollo.biz.service.InstanceServiceTest |
From |
To |
|
Parameterize Variable someReleaseKey : String to releaseKey : String in method private prepareInstanceConfigForInstance(instanceId long, configAppId String, configClusterName String, configNamespace String, releaseKey String, lastModifiedTime Date) : InstanceConfig in class com.ctrip.framework.apollo.biz.service.InstanceServiceTest |
From |
To |
|
Parameterize Variable someInvalidDate : Date to lastModifiedTime : Date in method private prepareInstanceConfigForInstance(instanceId long, configAppId String, configClusterName String, configNamespace String, releaseKey String, lastModifiedTime Date) : InstanceConfig in class com.ctrip.framework.apollo.biz.service.InstanceServiceTest |
From |
To |
|
Parameterize Variable anotherInstanceId : long to instanceId : long in method private prepareInstanceConfigForInstance(instanceId long, configAppId String, configClusterName String, configNamespace String, releaseKey String, lastModifiedTime Date) : InstanceConfig in class com.ctrip.framework.apollo.biz.service.InstanceServiceTest |
From |
To |