dd2c4c54c3d18939cdf92d86ce6a1576768bd567
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 26
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Replace Attribute | 1 | ||
Replace Attribute package cachesMgr : CachesManager from class org.sonar.batch.index.CachesManagerTest with protected cachesManager : CachesManager from class org.sonar.batch.index.AbstractCachesTest | From | To | |
Push Down Method | 5 | ||
Push Down Method public ProjectCacheStatus(cache PersistentCache, client ServerClient) from class org.sonar.batch.cache.ProjectCacheStatus to public DefaultProjectCacheStatus(cache PersistentCache, client ServerClient) from class org.sonar.batch.cache.DefaultProjectCacheStatus | From | To | |
Push Down Method public getSyncStatus(projectKey String) : Date from class org.sonar.batch.cache.ProjectCacheStatus to public getSyncStatus(projectKey String) : Date from class org.sonar.batch.cache.DefaultProjectCacheStatus | From | To | |
Push Down Method public delete(projectKey String) : void from class org.sonar.batch.cache.ProjectCacheStatus to public delete(projectKey String) : void from class org.sonar.batch.cache.DefaultProjectCacheStatus | From | To | |
Push Down Method public save(projectKey String) : void from class org.sonar.batch.cache.ProjectCacheStatus to public save(projectKey String) : void from class org.sonar.batch.cache.DefaultProjectCacheStatus | From | To | |
Push Down Method private getKey(projectKey String) : String from class org.sonar.batch.cache.ProjectCacheStatus to private getKey(projectKey String) : String from class org.sonar.batch.cache.DefaultProjectCacheStatus | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method public prepare() : void from class org.sonar.batch.index.CachesManagerTest to public startClass() : void from class org.sonar.batch.index.AbstractCachesTest | From | To | |
Extract Subclass | 1 | ||
Extract Subclass org.sonar.batch.cache.DefaultProjectCacheStatus from class org.sonar.batch.cache.ProjectCacheStatus | From | To | |
Move Method | 1 | ||
Move Method public createCacheOnTemp(temp TemporaryFolder) : CachesManager from class org.sonar.batch.index.CachesManagerTest to private createCacheOnTemp() : CachesManager from class org.sonar.batch.index.AbstractCachesTest | From | To | |
Push Down Attribute | 3 | ||
Push Down Attribute private cache : PersistentCache from class org.sonar.batch.cache.ProjectCacheStatus to private cache : PersistentCache from class org.sonar.batch.cache.DefaultProjectCacheStatus | From | To | |
Push Down Attribute private client : ServerClient from class org.sonar.batch.cache.ProjectCacheStatus to private client : ServerClient from class org.sonar.batch.cache.DefaultProjectCacheStatus | From | To | |
Push Down Attribute private STATUS_PREFIX : String from class org.sonar.batch.cache.ProjectCacheStatus to private STATUS_PREFIX : String from class org.sonar.batch.cache.DefaultProjectCacheStatus | From | To | |
Extract Method | 2 | ||
Extract Method private createContainer(extensions List<Object>) : GlobalContainer extracted from public should_add_bootstrap_extensions() : void in class org.sonar.batch.bootstrap.GlobalContainerTest | From | To | |
Extract Method private createContainer(extensions List<Object>) : GlobalContainer extracted from public should_add_components() : void in class org.sonar.batch.bootstrap.GlobalContainerTest | From | To |