diff options
Diffstat (limited to 'src/nativewindow/classes/javax')
-rw-r--r-- | src/nativewindow/classes/javax/media/nativewindow/util/Dimension.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/util/Dimension.java b/src/nativewindow/classes/javax/media/nativewindow/util/Dimension.java index a970be158..4151c1537 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/util/Dimension.java +++ b/src/nativewindow/classes/javax/media/nativewindow/util/Dimension.java @@ -90,8 +90,7 @@ public class Dimension implements Cloneable, DimensionReadOnly { public int hashCode() { // 31 * x == (x << 5) - x int hash = 31 + width; - hash = ((hash << 5) - hash) + height; - return hash; + return ((hash << 5) - hash) + height; } } |