Skip to content

Commit

Permalink
Deprecate for removal a trivial dependency to java.desktop module.
Browse files Browse the repository at this point in the history
  • Loading branch information
desruisseaux committed Oct 12, 2023
1 parent 69576c1 commit 575b124
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pgjdbc/src/main/java/org/postgresql/geometric/PGpoint.java
Expand Up @@ -207,7 +207,10 @@ public void setLocation(int x, int y) {
*
* @param p Point to move to
* @see java.awt.Point
*
* @deprecated Will be removed for avoiding a dependency to the {@code java.desktop} module.
*/
@Deprecated(forRemoval = true)
public void setLocation(Point p) {
setLocation(p.x, p.y);
}
Expand Down

0 comments on commit 575b124

Please sign in to comment.