bc20d6f469108acc4664661a7215c6c8fa4b6454
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move Method | 1 | ||
| Move Method private toHexColor(color Color) : String from class com.galenframework.validation.specs.SpecValidationColorScheme to private toHexColor(color Color) : String from class com.galenframework.parser.ExpectColorRanges | From | To | |
| Rename Variable | 1 | ||
| Rename Variable colorPrecision : int to colorTolerance : int in method public check(pageValidation PageValidation, objectName String, spec SpecColorScheme) : ValidationResult in class com.galenframework.validation.specs.SpecValidationColorScheme | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type spectrum : Spectrum to spectrum : CustomSpectrum in method public check(pageValidation PageValidation, objectName String, spec SpecColorScheme) : ValidationResult in class com.galenframework.validation.specs.SpecValidationColorScheme | From | To | |
| Extract Method | 1 | ||
| Extract Method public readCustomSpectrum(image BufferedImage, colorClassifiers List<ColorClassifier>, area Rectangle) : CustomSpectrum extracted from public readCustomSpectrum(image BufferedImage, colorClassifiers List<ColorClassifier>) : CustomSpectrum in class com.galenframework.rainbow4j.Rainbow4J | From | To | |
| Rename Parameter | 3 | ||
| Rename Parameter maxDistance : int to maxColorSquareDistance : int in method public holdsColor(r int, g int, b int, maxColorSquareDistance int) : boolean in class com.galenframework.rainbow4j.colorscheme.ColorClassifier | From | To | |
| Rename Parameter maxDistance : int to maxColorSquareDistance : int in method public holdsColor(r int, g int, b int, maxColorSquareDistance int) : boolean in class com.galenframework.rainbow4j.colorscheme.SimpleColorClassifier | From | To | |
| Rename Parameter maxDistance : int to maxColorSquareDistance : int in method public holdsColor(r int, g int, b int, maxColorSquareDistance int) : boolean in class com.galenframework.rainbow4j.colorscheme.GradientColorClassifier | From | To |