67c6e939075161b1f69b55937096bb9b3eaa3331
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 4 | ||
Rename Variable gg2D : GridGeometry2D to requestedGridGeometry : GridGeometry2D in method public execute(mimeType String, progressListener ProgressListener, coverageInfo CoverageInfo, roi Geometry, targetCRS CoordinateReferenceSystem, clip boolean, filter Filter, interpolation Interpolation, targetSizeX Integer, targetSizeY Integer, bandIndices int[], writeParams Parameters) : Resource in class org.geoserver.wps.gs.download.RasterDownload | From | To | |
Rename Variable originalGridCoverage : GridCoverage2D to pvalue : ParameterValue in method private updateReadParams(readParameters GeneralParameterValue[], parameterDescriptors List<GeneralParameterDescriptor>, bandIndices int[], filter Filter) : GeneralParameterValue[] in class org.geoserver.wps.gs.download.RasterDownload | From | To | |
Rename Variable clippedGridCoverage : GridCoverage2D to pvalue : ParameterValue in method private updateReadParams(readParameters GeneralParameterValue[], parameterDescriptors List<GeneralParameterDescriptor>, bandIndices int[], filter Filter) : GeneralParameterValue[] in class org.geoserver.wps.gs.download.RasterDownload | From | To | |
Rename Variable reprojectedGridCoverage : GridCoverage2D to targetEnvelope : ReferencedEnvelope in method public execute(mimeType String, progressListener ProgressListener, coverageInfo CoverageInfo, roi Geometry, targetCRS CoordinateReferenceSystem, clip boolean, filter Filter, interpolation Interpolation, targetSizeX Integer, targetSizeY Integer, bandIndices int[], writeParams Parameters) : Resource in class org.geoserver.wps.gs.download.RasterDownload | From | To | |
Extract Variable | 1 | ||
Extract Variable coverageParameters : Map<String,Serializable> in method public execute(mimeType String, progressListener ProgressListener, coverageInfo CoverageInfo, roi Geometry, targetCRS CoordinateReferenceSystem, clip boolean, filter Filter, interpolation Interpolation, targetSizeX Integer, targetSizeY Integer, bandIndices int[], writeParams Parameters) : Resource from class org.geoserver.wps.gs.download.RasterDownload | From | To | |
Change Variable Type | 3 | ||
Change Variable Type reprojectedGridCoverage : GridCoverage2D to targetEnvelope : ReferencedEnvelope in method public execute(mimeType String, progressListener ProgressListener, coverageInfo CoverageInfo, roi Geometry, targetCRS CoordinateReferenceSystem, clip boolean, filter Filter, interpolation Interpolation, targetSizeX Integer, targetSizeY Integer, bandIndices int[], writeParams Parameters) : Resource in class org.geoserver.wps.gs.download.RasterDownload | From | To | |
Change Variable Type originalGridCoverage : GridCoverage2D to pvalue : ParameterValue in method private updateReadParams(readParameters GeneralParameterValue[], parameterDescriptors List<GeneralParameterDescriptor>, bandIndices int[], filter Filter) : GeneralParameterValue[] in class org.geoserver.wps.gs.download.RasterDownload | From | To | |
Change Variable Type clippedGridCoverage : GridCoverage2D to pvalue : ParameterValue in method private updateReadParams(readParameters GeneralParameterValue[], parameterDescriptors List<GeneralParameterDescriptor>, bandIndices int[], filter Filter) : GeneralParameterValue[] in class org.geoserver.wps.gs.download.RasterDownload | From | To | |
Inline Variable | 1 | ||
Inline Variable roiCRS : CoordinateReferenceSystem in method public execute(mimeType String, progressListener ProgressListener, coverageInfo CoverageInfo, roi Geometry, targetCRS CoordinateReferenceSystem, clip boolean, filter Filter, interpolation Interpolation, targetSizeX Integer, targetSizeY Integer, bandIndices int[], writeParams Parameters) : Resource from class org.geoserver.wps.gs.download.RasterDownload | From | To | |
Extract Method | 3 | ||
Extract Method private bandSelect(reader GridCoverage2DReader, readParameters GeneralParameterValue[], bandIndices int[], originalGridCoverage GridCoverage2D, disposableSources List<GridCoverage2D>) : GridCoverage2D extracted from public execute(mimeType String, progressListener ProgressListener, coverageInfo CoverageInfo, roi Geometry, targetCRS CoordinateReferenceSystem, clip boolean, filter Filter, interpolation Interpolation, targetSizeX Integer, targetSizeY Integer, bandIndices int[], writeParams Parameters) : Resource in class org.geoserver.wps.gs.download.RasterDownload | From | To | |
Extract Method private updateReadParams(readParameters GeneralParameterValue[], parameterDescriptors List<GeneralParameterDescriptor>, bandIndices int[], filter Filter) : GeneralParameterValue[] extracted from public execute(mimeType String, progressListener ProgressListener, coverageInfo CoverageInfo, roi Geometry, targetCRS CoordinateReferenceSystem, clip boolean, filter Filter, interpolation Interpolation, targetSizeX Integer, targetSizeY Integer, bandIndices int[], writeParams Parameters) : Resource in class org.geoserver.wps.gs.download.RasterDownload | From | To | |
Extract Method private readAndReproject(reader GridCoverage2DReader, readParameters GeneralParameterValue[], targetCRS CoordinateReferenceSystem, targetEnvelope ReferencedEnvelope, targetSizeX Integer, targetSizeY Integer, interpolation Interpolation, backgroundValues double[], isImposedTargetSize boolean, reproject boolean, disposableSources List<GridCoverage2D>) : GridCoverage2D extracted from public execute(mimeType String, progressListener ProgressListener, coverageInfo CoverageInfo, roi Geometry, targetCRS CoordinateReferenceSystem, clip boolean, filter Filter, interpolation Interpolation, targetSizeX Integer, targetSizeY Integer, bandIndices int[], writeParams Parameters) : Resource in class org.geoserver.wps.gs.download.RasterDownload | From | To |