3abc971364f9c6734a367518ef1b724b702608ae
Files Diff
- Added: 1
- Removed: 2
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type input : SliceInput to input : BasicSliceInput in method private readGeometry(input BasicSliceInput, type GeometryType) : Geometry in class com.facebook.presto.geospatial.JtsGeometrySerde | From | To | |
Rename Variable | 3 | ||
Rename Variable geometry : OGCGeometry to expected : OGCGeometry in method private testEsriSerialization(wkt String) : void in class com.facebook.presto.geospatial.TestGeometrySerialization | From | To | |
Rename Variable numInteriorRing : int to holesCount : int in method private writePolygon(geometry Geometry, output SliceOutput, multitype boolean) : void in class com.facebook.presto.geospatial.JtsGeometrySerde | From | To | |
Rename Variable deserializedGeometry : OGCGeometry to actual : OGCGeometry in method private testEsriSerialization(wkt String) : void in class com.facebook.presto.geospatial.TestGeometrySerialization | From | To | |
Rename Class | 1 | ||
Rename Class com.facebook.presto.geospatial.TestGeometrySerde renamed to com.facebook.presto.geospatial.TestGeometrySerialization | From | To | |
Extract Variable | 2 | ||
Extract Variable coordinates : Coordinate[] in method private writePolygon(geometry Geometry, output SliceOutput, multitype boolean) : void from class com.facebook.presto.geospatial.JtsGeometrySerde | From | To | |
Extract Variable partIndex : int in method private writePolyline(geometry Geometry, output SliceOutput, multitype boolean) : void from class com.facebook.presto.geospatial.JtsGeometrySerde | From | To | |
Change Variable Type | 1 | ||
Change Variable Type output : SliceOutput to output : DynamicSliceOutput in method public serialize(geometry Geometry) : Slice in class com.facebook.presto.geospatial.JtsGeometrySerde | From | To | |
Extract Method | 4 | ||
Extract Method private isClockwise(coordinates Coordinate[], start int, end int) : boolean extracted from private isClockwise(coordinates Coordinate[]) : boolean in class com.facebook.presto.geospatial.JtsGeometrySerde | From | To | |
Extract Method private testEsriSerialization(wkt String) : void extracted from private testSerialization(wkt String) : void in class com.facebook.presto.geospatial.TestGeometrySerialization | From | To | |
Extract Method private readGeometryCollection(input BasicSliceInput) : Geometry extracted from private readGeometry(input SliceInput) : Geometry in class com.facebook.presto.geospatial.JtsGeometrySerde | From | To | |
Extract Method private skipEsriType(input SliceInput) : void extracted from private readPolyline(input SliceInput) : Geometry in class com.facebook.presto.geospatial.JtsGeometrySerde | From | To | |
Rename Parameter | 2 | ||
Rename Parameter inGeometryCollection : boolean to multitype : boolean in method private writePolygon(geometry Geometry, output SliceOutput, multitype boolean) : void in class com.facebook.presto.geospatial.JtsGeometrySerde | From | To | |
Rename Parameter inGeometryCollection : boolean to multitype : boolean in method private writePolyline(geometry Geometry, output SliceOutput, multitype boolean) : void in class com.facebook.presto.geospatial.JtsGeometrySerde | From | To |