cf1c8d76184de334921362e9abd7dd64d56e5f16
Files Diff
- Added: 8
- Removed: 0
- Renamed: 0
- Modified: 17
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method private addFileData(data ProjectRepositories, moduleChildren List<ComponentDto>, files List<FilePathWithHashDto>) : void renamed to private addFileDataPerModule(data MultiModuleProjectRepository, moduleChildren List<ComponentDto>, files List<FilePathWithHashDto>) : void in class org.sonar.server.batch.ProjectDataLoader | From | To | |
Rename Method private createTable() : Table<String,String,FileData> renamed to private createFileDataPerPathMap() : Map<String,FileData> in class org.sonar.scanner.scan.filesystem.StatusDetectionTest | From | To | |
Push Down Method | 2 | ||
Push Down Method public fileData(projectKey String, path String) : FileData from class org.sonar.scanner.protocol.input.ProjectRepositories to public fileData(moduleKeyWithBranch String, path String) : FileData from class org.sonar.scanner.protocol.input.MultiModuleProjectRepository | From | To | |
Push Down Method public addFileData(moduleKey String, path String, fileData FileData) : ProjectRepositories from class org.sonar.scanner.protocol.input.ProjectRepositories to public addFileData(path String, fileData FileData) : ProjectRepositories from class org.sonar.scanner.protocol.input.SingleProjectRepository | From | To | |
Extract Subclass | 1 | ||
Extract Subclass org.sonar.scanner.protocol.input.MultiModuleProjectRepository from class org.sonar.scanner.protocol.input.ProjectRepositories | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type data : ProjectRepositories to data : MultiModuleProjectRepository in method private addFileDataPerModule(data MultiModuleProjectRepository, moduleChildren List<ComponentDto>, files List<FilePathWithHashDto>) : void in class org.sonar.server.batch.ProjectDataLoader | From | To | |
Rename Variable | 1 | ||
Rename Variable t2 : Table<String,String,FileData> to fileMap : Map<String,FileData> in method public setUp() : void in class org.sonar.scanner.repository.ProjectRepositoriesProviderTest | From | To | |
Change Return Type | 1 | ||
Change Return Type Table<String,String,FileData> to Map<String,FileData> in method private createFileDataPerPathMap() : Map<String,FileData> in class org.sonar.scanner.scan.filesystem.StatusDetectionTest | From | To | |
Rename Attribute | 1 | ||
Rename Attribute fileDataTable : Table<String,String,FileData> to fileDataMap : Map<String,FileData> in class org.sonar.scanner.mediumtest.ScannerMediumTester.FakeProjectRepositoriesLoader | From | To | |
Change Variable Type | 5 | ||
Change Variable Type t2 : Table<String,String,FileData> to fileMap : Map<String,FileData> in method public setUp() : void in class org.sonar.scanner.repository.ProjectRepositoriesProviderTest | From | To | |
Change Variable Type ref : ProjectRepositories to ref : SingleProjectRepository in method public detect_status_branches_exclude() : void in class org.sonar.scanner.scan.filesystem.StatusDetectionTest | From | To | |
Change Variable Type ref : ProjectRepositories to ref : SingleProjectRepository in method public detect_status_branches_confirm() : void in class org.sonar.scanner.scan.filesystem.StatusDetectionTest | From | To | |
Change Variable Type ref : ProjectRepositories to ref : SingleProjectRepository in method public detect_status_without_metadata() : void in class org.sonar.scanner.scan.filesystem.StatusDetectionTest | From | To | |
Change Variable Type ref : ProjectRepositories to ref : SingleProjectRepository in method public detect_status() : void in class org.sonar.scanner.scan.filesystem.StatusDetectionTest | From | To | |
Extract Variable | 1 | ||
Extract Variable fileData : FileData in method public return_file_data_from_single_project() : void from class org.sonar.server.batch.ProjectDataLoaderTest | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type fileDataTable : Table<String,String,FileData> to fileDataMap : Map<String,FileData> in class org.sonar.scanner.mediumtest.ScannerMediumTester.FakeProjectRepositoriesLoader | From | To | |
Rename Parameter | 4 | ||
Rename Parameter projectKeyWithBranch : String to moduleKeyWithBranch : String in method public getStatusWithoutMetadata(moduleKeyWithBranch String, inputFile DefaultInputFile) : InputFile.Status in class org.sonar.scanner.scan.filesystem.StatusDetection | From | To | |
Rename Parameter languag : String to language : String in method public addActiveRule(repositoryKey String, ruleKey String, templateRuleKey String, name String, severity String, internalKey String, language String) : ScannerMediumTester in class org.sonar.scanner.mediumtest.ScannerMediumTester | From | To | |
Rename Parameter projectKey : String to moduleKeyWithBranch : String in method public fileData(moduleKeyWithBranch String, path String) : FileData in class org.sonar.scanner.protocol.input.MultiModuleProjectRepository | From | To | |
Rename Parameter projectKeyWithBranch : String to moduleKeyWithBranch : String in method package status(moduleKeyWithBranch String, inputFile DefaultInputFile, hash String) : InputFile.Status in class org.sonar.scanner.scan.filesystem.StatusDetection | From | To |