9a51904a5647d778d28ef64b4ca3a5f71dd6f7fd
Files Diff
- Added: 6
- Removed: 4
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 1 | ||
Move And Inline Method public createLayer(source DataStore, query Query) : GTVectorLayer moved from class org.geoserver.wps.sextante.GTVectorLayer to class org.geoserver.wps.sextante.SextanteProcess & inlined to private setAlgorithmInputs(input Map<String,Object>) : void | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type extent : GridExtent to extent : AnalysisExtent in method public getNewRasterLayer(sName String, iDataType int, extent AnalysisExtent, iBands int, channel IOutputChannel, crs Object) : IRasterLayer in class org.geoserver.wps.sextante.GTOutputFactory | From | To | |
Change Parameter Type ge : GridExtent to ge : AnalysisExtent in method public create(name String, filename String, ge AnalysisExtent, dataType int, numBands int, crs Object, defaultNoDataValue double) : void in class org.geoserver.wps.sextante.GTRasterLayer | From | To | |
Move Method | 10 | ||
Move Method public addFeature(g Geometry, values Object[]) : void from class org.geoserver.wps.sextante.GTShpLayer to public addFeature(geom Geometry, values Object[]) : void from class org.geoserver.wps.sextante.StreamOutputLayer | From | To | |
Move Method public postProcess() : void from class org.geoserver.wps.sextante.GTShpLayer to public postProcess() : void from class org.geoserver.wps.sextante.StreamOutputLayer | From | To | |
Move Method public open() : void from class org.geoserver.wps.sextante.GTShpLayer to public open() : void from class org.geoserver.wps.sextante.StreamOutputLayer | From | To | |
Move Method public getShapesCount() : int from class org.geoserver.wps.sextante.GTVectorLayer to public getShapesCount() : int from class org.geoserver.wps.sextante.StreamOutputLayer | From | To | |
Move Method public close() : void from class org.geoserver.wps.sextante.GTVectorLayer to public close() : void from class org.geoserver.wps.sextante.StreamOutputLayer | From | To | |
Move Method public getFullExtent() : Rectangle2D from class org.geoserver.wps.sextante.GTShpLayer to public getFullExtent() : Rectangle2D from class org.geoserver.wps.sextante.StreamOutputLayer | From | To | |
Move Method public getShapeType() : int from class org.geoserver.wps.sextante.GTShpLayer to public getShapeType() : int from class org.geoserver.wps.sextante.StreamOutputLayer | From | To | |
Move Method public getFullExtent() : Rectangle2D from class org.geoserver.wps.sextante.GTVectorLayer to public getFullExtent() : Rectangle2D from class org.geoserver.wps.sextante.StreamOutputLayer | From | To | |
Move Method public close() : void from class org.geoserver.wps.sextante.GTShpLayer to public close() : void from class org.geoserver.wps.sextante.StreamOutputLayer | From | To | |
Move Method public open() : void from class org.geoserver.wps.sextante.GTVectorLayer to public open() : void from class org.geoserver.wps.sextante.StreamOutputLayer | From | To | |
Extract Class | 2 | ||
Extract Class org.geoserver.wps.sextante.StreamOutputLayer from class org.geoserver.wps.sextante.GTShpLayer | From | To | |
Extract Class org.geoserver.wps.sextante.StreamOutputLayer from class org.geoserver.wps.sextante.GTVectorLayer | From | To | |
Rename Class | 1 | ||
Rename Class org.geoserver.wps.sextante.GTShpLayer renamed to org.geoserver.wps.sextante.GTTable | From | To | |
Extract Variable | 1 | ||
Extract Variable actual : String in method public testArcGridInOut() : void from class org.geoserver.wps.sextante.SextanteIntegrationTest | From | To | |
Change Variable Type | 5 | ||
Change Variable Type ge : GridExtent to ge : AnalysisExtent in method private setAlgorithmInputs(input Map<String,Object>) : void in class org.geoserver.wps.sextante.SextanteProcess | From | To | |
Change Variable Type extent : GridExtent to extent : AnalysisExtent in method private setAlgorithmInputs(input Map<String,Object>) : void in class org.geoserver.wps.sextante.SextanteProcess | From | To | |
Change Variable Type attributes : List<Object> to featureBuilder : SimpleFeatureBuilder in method public addFeature(g Geometry, attributes Object[]) : void in class org.geoserver.wps.sextante.GTVectorLayer | From | To | |
Change Variable Type collection : FeatureCollection<SimpleFeatureType,SimpleFeature> to m_FeatureCollection : DefaultFeatureCollection in method public addFeature(g Geometry, attributes Object[]) : void in class org.geoserver.wps.sextante.GTVectorLayer | From | To | |
Change Variable Type features : FeatureCollection<SimpleFeatureType,SimpleFeature> to fc : FeatureCollection in method public iterator() : IFeatureIterator in class org.geoserver.wps.sextante.GTVectorLayer | From | To | |
Inline Variable | 1 | ||
Inline Variable tile : Raster in method public getCellValueInLayerCoords(x int, y int, band int) : double from class org.geoserver.wps.sextante.GTRasterLayer | From | To | |
Rename Method | 2 | ||
Rename Method public getCRS() : Object renamed to public getBaseDataObject() : Object in class org.geoserver.wps.sextante.GTTable | From | To | |
Rename Method public getShapesCount() : int renamed to public getRecordCount() : long in class org.geoserver.wps.sextante.GTTable | From | To | |
Rename Variable | 2 | ||
Rename Variable attributes : List<Object> to featureBuilder : SimpleFeatureBuilder in method public addFeature(g Geometry, attributes Object[]) : void in class org.geoserver.wps.sextante.GTVectorLayer | From | To | |
Rename Variable features : FeatureCollection<SimpleFeatureType,SimpleFeature> to fc : FeatureCollection in method public iterator() : IFeatureIterator in class org.geoserver.wps.sextante.GTVectorLayer | From | To | |
Inline Method | 3 | ||
Inline Method private getFeatureSource() : FeatureSource<SimpleFeatureType,SimpleFeature> inlined to public getFieldType(index int) : Class in class org.geoserver.wps.sextante.GTVectorLayer | From | To | |
Inline Method private getFeatureSource() : FeatureSource<SimpleFeatureType,SimpleFeature> inlined to public getFieldName(index int) : String in class org.geoserver.wps.sextante.GTVectorLayer | From | To | |
Inline Method private getFeatureSource() : FeatureSource<SimpleFeatureType,SimpleFeature> inlined to public getShapeType() : int in class org.geoserver.wps.sextante.GTVectorLayer | From | To | |
Change Return Type | 4 | ||
Change Return Type Class<?> to Class in method public getFieldType(index int) : Class in class org.geoserver.wps.sextante.GTVectorLayer | From | To | |
Change Return Type IFeatureIterator to IRecordsetIterator in method public iterator() : IRecordsetIterator in class org.geoserver.wps.sextante.GTTable | From | To | |
Change Return Type int to long in method public getRecordCount() : long in class org.geoserver.wps.sextante.GTTable | From | To | |
Change Return Type GridExtent to AnalysisExtent in method public getLayerGridExtent() : AnalysisExtent in class org.geoserver.wps.sextante.GTRasterLayer | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute collection : FeatureCollection<SimpleFeatureType,SimpleFeature> to m_FeatureCollection : DefaultFeatureCollection in method public addFeature(g Geometry, attributes Object[]) : void in class org.geoserver.wps.sextante.GTVectorLayer | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type m_LayerExtent : GridExtent to m_LayerExtent : AnalysisExtent in class org.geoserver.wps.sextante.GTRasterLayer | From | To | |
Change Attribute Type m_CRS : CoordinateReferenceSystem to m_CRS : Object in class org.geoserver.wps.sextante.GTVectorLayer | From | To | |
Rename Parameter | 4 | ||
Rename Parameter g : Geometry to geom : Geometry in method public addFeature(geom Geometry, values Object[]) : void in class org.geoserver.wps.sextante.StreamOutputLayer | From | To | |
Rename Parameter values : Object[] to attributes : Object[] in method public addFeature(g Geometry, attributes Object[]) : void in class org.geoserver.wps.sextante.GTVectorLayer | From | To | |
Rename Parameter i : int to index : int in method public getFieldType(index int) : Class in class org.geoserver.wps.sextante.GTVectorLayer | From | To | |
Rename Parameter i : int to index : int in method public getFieldName(index int) : String in class org.geoserver.wps.sextante.GTVectorLayer | From | To |