aboutsummaryrefslogtreecommitdiffstats
path: root/src/nativewindow
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-28 03:33:00 +0100
committerSven Gothel <[email protected]>2010-11-28 03:33:00 +0100
commit0c9eb947a2ffabba2c10799f6ea50756a2749702 (patch)
treed8f68006af6d5bbec7ae2eddb7b326019daedb30 /src/nativewindow
parentaaa2b1df6ba9bd30f251ddada32ba0d56b12aa81 (diff)
minor cleanup
Diffstat (limited to 'src/nativewindow')
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/util/Dimension.java3
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;
}
}