diff --git a/src/net/sourceforge/plantuml/golem/Position.java b/src/net/sourceforge/plantuml/golem/Position.java index d9f89fcfe..cc776d9f8 100644 --- a/src/net/sourceforge/plantuml/golem/Position.java +++ b/src/net/sourceforge/plantuml/golem/Position.java @@ -57,7 +57,7 @@ public class Position { @Override public int hashCode() { - return xmin + ymin << 8 + xmax << 16 + ymax << 24; + return xmin + (ymin << 8) + (xmax << 16) + (ymax << 24); } @Override