We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4abfeee commit 15b84f3Copy full SHA for 15b84f3
java/src/org/openqa/selenium/Point.java
@@ -21,11 +21,11 @@
21
import org.jspecify.annotations.NullMarked;
22
import org.jspecify.annotations.Nullable;
23
24
-/** A copy of java.awt.Point, to remove dependency on awt. */
+/** Represents a point in a two-dimensional space with x and y coordinates. */
25
@NullMarked
26
public class Point {
27
- public int x;
28
- public int y;
+ public final int x;
+ public final int y;
29
30
public Point(int x, int y) {
31
this.x = x;
0 commit comments