3a22a297fc065b3102e4a9e6b9b3f75d3d891d3b
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method public loadCoverageData() : void renamed to public loadData() : void in class org.geoserver.sldservice.rest.SLDServiceBaseTest | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type rule : Rule to obj : Object in method private jsonRule(obj Object) : JSONObject in class org.geoserver.sldservice.rest.ClassifierController | From | To | |
| Rename Variable | 1 | ||
| Rename Variable ruleSz : JSONObject to jsonObj : JSONObject in method private jsonRule(obj Object) : JSONObject in class org.geoserver.sldservice.rest.ClassifierController | From | To | |
| Move Attribute | 5 | ||
| Move Attribute protected pointCollection : SimpleFeatureCollection from class org.geoserver.sldservice.rest.ClassifierTestSupport to protected pointCollection : SimpleFeatureCollection from class org.geoserver.sldservice.rest.RulesBuilderTest | From | To | |
| Move Attribute protected lineCollection : SimpleFeatureCollection from class org.geoserver.sldservice.rest.ClassifierTestSupport to protected lineCollection : SimpleFeatureCollection from class org.geoserver.sldservice.rest.RulesBuilderTest | From | To | |
| Move Attribute protected testFeatures : SimpleFeature[] from class org.geoserver.sldservice.rest.ClassifierTestSupport to protected testFeatures : SimpleFeature[] from class org.geoserver.sldservice.rest.RulesBuilderTest | From | To | |
| Move Attribute protected dataType : SimpleFeatureType from class org.geoserver.sldservice.rest.ClassifierTestSupport to protected dataType : SimpleFeatureType from class org.geoserver.sldservice.rest.RulesBuilderTest | From | To | |
| Move Attribute package ff : FilterFactory2 from class org.geoserver.sldservice.rest.ClassifierTestSupport to package ff : FilterFactory2 from class org.geoserver.sldservice.rest.RulesBuilderTest | From | To | |
| Extract Attribute | 1 | ||
| Extract Attribute private strokeWeight : double in class org.geoserver.sldservice.utils.classifier.RulesBuilder | From | To | |
| Rename Class | 1 | ||
| Rename Class org.geoserver.sldservice.rest.ClassifierController.RulesListConverter renamed to org.geoserver.sldservice.rest.ClassifierController.StyleConverter | From | To | |
| Extract Superclass | 1 | ||
| Extract Superclass org.geoserver.sldservice.rest.BaseSLDServiceController from classes [org.geoserver.sldservice.rest.ClassifierController, org.geoserver.sldservice.rest.RasterizerController] | From | To | |
| Extract Method | 2 | ||
| Extract Method private interpolate(result List<Color>, start Color, end Color, samples int, offset boolean) : void extracted from protected createRamp() : void in class org.geoserver.sldservice.utils.classifier.impl.CustomColorRamp | From | To | |
| Extract Method private interpolate(result List<Color>, start Color, end Color, samples int) : void extracted from protected createRamp() : void in class org.geoserver.sldservice.utils.classifier.impl.CustomColorRamp | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter rule : Rule to obj : Object in method private jsonRule(obj Object) : JSONObject in class org.geoserver.sldservice.rest.ClassifierController | From | To |