f613b749354c6268d902f58f71b32879399c7548
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Return Type | 5 | ||
Change Return Type Validation to Function<String,Result> in method private validateBoolean() : Function<String,Result> in class org.sonar.api.config.PropertyDefinition | From | To | |
Change Return Type EnumMap<PropertyType,Validation> to EnumMap<PropertyType,Function<String,Result>> in method private createValidations(options List<String>) : EnumMap<PropertyType,Function<String,Result>> in class org.sonar.api.config.PropertyDefinition | From | To | |
Change Return Type Validation to Function<String,Result> in method private validateFloat() : Function<String,Result> in class org.sonar.api.config.PropertyDefinition | From | To | |
Change Return Type Validation to Function<String,Result> in method private validateRegexp() : Function<String,Result> in class org.sonar.api.config.PropertyDefinition | From | To | |
Change Return Type Validation to Function<String,Result> in method private validateInteger() : Function<String,Result> in class org.sonar.api.config.PropertyDefinition | From | To | |
Change Variable Type | 1 | ||
Change Variable Type validations : EnumMap<PropertyType,Validation> to validations : EnumMap<PropertyType,Function<String,Result>> in method public validate(type PropertyType, value String, options List<String>) : Result in class org.sonar.api.config.PropertyDefinition | From | To | |
Extract Method | 2 | ||
Extract Method private unzipEntry(entry ZipEntry, zipStream ZipInputStream, toDir File) : void extracted from public unzip(stream InputStream, toDir File, filter Predicate<ZipEntry>) : File in class org.sonar.api.utils.ZipUtils | From | To | |
Extract Method private loadCoverageFile(batchCoveredFile ScannerReport.CoverageDetail.CoveredFile, testName String, nameToCoveredFiles Table<String,String,DbFileSources.Test.CoveredFile.Builder>) : void extracted from private loadCoverageDetails(testFileRef int) : Table<String,String,DbFileSources.Test.CoveredFile.Builder> in class org.sonar.server.computation.task.projectanalysis.step.PersistTestsStep.TestDepthTraversalTypeAwareVisitor | From | To |