3be4a0c53385a59c40e87f7e8ba5283b1c5928d3
Files Diff
- Added: 7
- Removed: 4
- Renamed: 0
- Modified: 28
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method private stopDebug(profiler Profiler, msg String, fromCache boolean) : void from class org.sonar.batch.issue.tracking.ServerIssueRepository to private stopInfo(profiler Profiler, msg String, fromCache boolean) : void from class org.sonar.batch.cache.ProjectCacheSynchronizer | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type name : Class to name : Class<?> in method public get(name Class<?>) : Logger in class org.sonar.api.utils.log.Loggers | From | To | |
Change Parameter Type users : Collection<BatchInput.User> to userLogins : Collection<String> in method private writeUsers(json JsonWriter, userLogins Collection<String>) : void in class org.sonar.batch.scan.report.JSONReport | From | To | |
Extract Attribute | 1 | ||
Extract Attribute private LOG_MSG : String in class org.sonar.batch.issue.tracking.ServerIssueRepository | From | To | |
Rename Class | 1 | ||
Rename Class org.sonar.batch.cache.ProjectCacheSynchronizer.IssueAccumulator renamed to org.sonar.batch.cache.ProjectCacheSynchronizer.UserLoginAccumulator | From | To | |
Extract Variable | 1 | ||
Extract Variable res : WSLoaderResult<ByteSource> in method public testInputStreamError() : void from class org.sonar.batch.repository.user.UserRepositoryLoaderTest | From | To | |
Change Variable Type | 1 | ||
Change Variable Type consumer : IssueAccumulator to consumer : UserLoginAccumulator in method public load(force boolean) : void in class org.sonar.batch.cache.ProjectCacheSynchronizer | From | To | |
Extract Method | 4 | ||
Extract Method private turnCacheEmpty() : void extracted from public test_cache_strategy_fallback() : void in class org.sonar.batch.bootstrap.WSLoaderTest | From | To | |
Extract Method private assertUsedServer(times int) : void extracted from public dont_retry_server_offline() : void in class org.sonar.batch.bootstrap.WSLoaderTest | From | To | |
Extract Method private assertUsedCache(times int) : void extracted from public dont_retry_server_offline() : void in class org.sonar.batch.bootstrap.WSLoaderTest | From | To | |
Extract Method private createUsersMock(users Map<String,String>) : ByteSource extracted from public testLoad() : void in class org.sonar.batch.repository.user.UserRepositoryLoaderTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter users : Collection<BatchInput.User> to userLogins : Collection<String> in method private writeUsers(json JsonWriter, userLogins Collection<String>) : void in class org.sonar.batch.scan.report.JSONReport | From | To |