307d1cb83c7b8f264414c7a4e8f254296ddcc0e3
Files Diff
- Added: 0
 - Removed: 0
 - Renamed: 0
 - Modified: 5
 
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Variable | 3 | ||
| Rename Variable geometry : Geometry to esriGeometry : Geometry in method private writeSimpleGeometry(output DynamicSliceOutput, type GeometryType, geometry OGCGeometry) : void in class com.facebook.presto.geospatial.GeometrySerde | From | To | |
| Rename Variable code : byte to type : GeometryType in method public deserialize(shape Slice) : OGCGeometry in class com.facebook.presto.geospatial.GeometrySerde | From | To | |
| Rename Variable sliceOutput : DynamicSliceOutput to output : DynamicSliceOutput in method public serialize(input OGCGeometry) : Slice in class com.facebook.presto.geospatial.GeometrySerde | From | To | |
| Parameterize Variable | 3 | ||
| Parameterize Variable deserializedGeometry : OGCGeometry to expected : OGCGeometry in method private assertGeometryEquals(actual OGCGeometry, expected OGCGeometry) : void in class com.facebook.presto.geospatial.TestGeometrySerde | From | To | |
| Parameterize Variable geometry : OGCGeometry to actual : OGCGeometry in method private assertGeometryEquals(actual OGCGeometry, expected OGCGeometry) : void in class com.facebook.presto.geospatial.TestGeometrySerde | From | To | |
| Parameterize Variable sliceOutput : DynamicSliceOutput to output : DynamicSliceOutput in method private writeSimpleGeometry(output DynamicSliceOutput, type GeometryType, geometry OGCGeometry) : void in class com.facebook.presto.geospatial.GeometrySerde | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type code : byte to type : GeometryType in method public deserialize(shape Slice) : OGCGeometry in class com.facebook.presto.geospatial.GeometrySerde | From | To | |
| Extract Method | 4 | ||
| Extract Method private writeGeometry(output DynamicSliceOutput, geometry OGCGeometry) : void extracted from public serialize(input OGCGeometry) : Slice in class com.facebook.presto.geospatial.GeometrySerde | From | To | |
| Extract Method private writeSimpleGeometry(output DynamicSliceOutput, type GeometryType, geometry OGCGeometry) : void extracted from public serialize(input OGCGeometry) : Slice in class com.facebook.presto.geospatial.GeometrySerde | From | To | |
| Extract Method private ensureEnvelopeLoaded(geometry OGCGeometry) : void extracted from private testSerialization(wkt String) : void in class com.facebook.presto.geospatial.TestGeometrySerde | From | To | |
| Extract Method private assertGeometryEquals(actual OGCGeometry, expected OGCGeometry) : void extracted from private testSerialization(wkt String) : void in class com.facebook.presto.geospatial.TestGeometrySerde | From | To |