75e47ba5a19b3d4ab901d2ed7a180714b141d580
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 58
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 4 | ||
Change Parameter Type f : File to f : Path in method private path(f Path) : String in class org.sonar.scanner.scan.filesystem.ModuleFileSystemInitializerTest | From | To | |
Change Parameter Type sources : List<File> to sources : List<Path> in method private indexFiles(sources List<Path>, type InputFile.Type, progress Progress) : void in class org.sonar.scanner.scan.filesystem.FileIndexer | From | To | |
Change Parameter Type baseDir : File to baseDir : Path in method private logPaths(label String, baseDir Path, paths List<Path>) : void in class org.sonar.scanner.scan.filesystem.ModuleFileSystemInitializer | From | To | |
Change Parameter Type paths : List<File> to paths : List<Path> in method private logPaths(label String, baseDir Path, paths List<Path>) : void in class org.sonar.scanner.scan.filesystem.ModuleFileSystemInitializer | From | To | |
Move Method | 2 | ||
Move Method private logPaths(logger Logger, label String, baseDir File, paths List<File>) : void from class org.sonar.scanner.scan.filesystem.FileSystemLogger to private logPaths(label String, baseDir Path, paths List<Path>) : void from class org.sonar.scanner.scan.filesystem.ModuleFileSystemInitializer | From | To | |
Move Method private initWorkingDir(module ProjectDefinition, tempUtils TempFolder) : void from class org.sonar.scanner.scan.filesystem.ModuleFileSystemInitializer to private initWorkingDir(module ProjectDefinition) : Path from class org.sonar.api.batch.fs.internal.DefaultInputModule | From | To | |
Change Return Type | 7 | ||
Change Return Type List<File> to List<Path> in method package tests() : List<Path> in class org.sonar.scanner.scan.filesystem.ModuleFileSystemInitializer | From | To | |
Change Return Type void to Path in method private initWorkingDir(module ProjectDefinition) : Path in class org.sonar.api.batch.fs.internal.DefaultInputModule | From | To | |
Change Return Type List<File> to List<Path> in method package sources() : List<Path> in class org.sonar.scanner.scan.filesystem.ModuleFileSystemInitializer | From | To | |
Change Return Type void to List<Path> in method private initSources(module ProjectDefinition, baseDir Path, propertyKey String, logLabel String) : List<Path> in class org.sonar.scanner.scan.filesystem.ModuleFileSystemInitializer | From | To | |
Change Return Type File to Path in method public getReportDir() : Path in class org.sonar.scanner.report.ReportPublisher | From | To | |
Change Return Type File to Path in method public getBaseDir() : Path in class org.sonar.api.batch.fs.internal.DefaultInputModule | From | To | |
Change Return Type File to Path in method public getWorkDir() : Path in class org.sonar.api.batch.fs.internal.DefaultInputModule | From | To | |
Extract Variable | 3 | ||
Extract Variable moduleBBaseDir : File in method public createIndex() : void from class org.sonar.scanner.index.DefaultIndexTest | From | To | |
Extract Variable moduleB1BaseDir : File in method public createIndex() : void from class org.sonar.scanner.index.DefaultIndexTest | From | To | |
Extract Variable moduleABaseDir : File in method public createIndex() : void from class org.sonar.scanner.index.DefaultIndexTest | From | To | |
Change Variable Type | 1 | ||
Change Variable Type dirOrFile : File to dirOrFile : Path in method private indexFiles(sources List<Path>, type InputFile.Type, progress Progress) : void in class org.sonar.scanner.scan.filesystem.FileIndexer | From | To | |
Extract Method | 1 | ||
Extract Method public deleteQuietly(path Path) : boolean extracted from public deleteQuietly(file File) : boolean in class org.sonar.core.util.FileUtils | From | To | |
Change Attribute Type | 6 | ||
Change Attribute Type reportDir : File to reportDir : Path in class org.sonar.scanner.report.ReportPublisher | From | To | |
Change Attribute Type sourceDirsOrFiles : List<File> to sourceDirsOrFiles : List<Path> in class org.sonar.scanner.scan.filesystem.ModuleFileSystemInitializer | From | To | |
Change Attribute Type context : SensorContext to context : SensorContextTester in class org.sonar.xoo.lang.SymbolReferencesSensorTest | From | To | |
Change Attribute Type testDirsOrFiles : List<File> to testDirsOrFiles : List<Path> in class org.sonar.scanner.scan.filesystem.ModuleFileSystemInitializer | From | To | |
Change Attribute Type workDir : File to workDir : Path in class org.sonar.api.batch.fs.internal.DefaultInputModule | From | To | |
Change Attribute Type baseDir : File to baseDir : Path in class org.sonar.api.batch.fs.internal.DefaultInputModule | From | To |