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 459b15f commit 72701e6Copy full SHA for 72701e6
modules/javafx.graphics/src/main/java/com/sun/javafx/geom/Dimension.java
@@ -36,6 +36,7 @@ public Dimension(int width, int height) {
36
this.height = height;
37
}
38
39
+ @Override
40
public boolean equals(Object obj) {
41
if (obj instanceof Dimension) {
42
Dimension d = (Dimension) obj;
@@ -44,6 +45,7 @@ public boolean equals(Object obj) {
44
45
return false;
46
47
48
49
public int hashCode() {
50
return Objects.hash(width, height);
51
0 commit comments