Skip to content

Commit

Permalink
Deprecate AffineTransformation point mapping constructor (#936)
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Davis <mtnclimb@gmail.com>
  • Loading branch information
dr-jts committed Nov 22, 2022
1 parent 1009a36 commit 1c0902d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ public AffineTransformation(AffineTransformation trans)
* @param dest1 the mapped point for source point 1
* @param dest2 the mapped point for source point 2
*
* @deprecated use AffineTransformationFactory
*/
public AffineTransformation(Coordinate src0,
Coordinate src1,
Expand All @@ -325,6 +326,7 @@ public AffineTransformation(Coordinate src0,
Coordinate dest1,
Coordinate dest2)
{
throw new UnsupportedOperationException("Use AffineTransformationFactory instead");
}

/**
Expand Down

0 comments on commit 1c0902d

Please sign in to comment.