Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate for removal PGPoint.setLocation(java.awt.Point) to cut dependency to java.desktop module #2967

Merged
merged 1 commit into from
Oct 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
public void setLocation(Point p) {
setLocation(p.x, p.y);
}
Expand Down