X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altoslib%2FAltosPointDouble.java;h=f775738a38185a4643892c3923d30e4f56039d1c;hb=58e7fccc24f933fd64e272207f783ca79002b7ba;hp=59e2f76c9fff051508a7f8d246dc3d35b616cca1;hpb=297eb795b24ec31f6599f48bc8c3769557a7ec6f;p=fw%2Faltos diff --git a/altoslib/AltosPointDouble.java b/altoslib/AltosPointDouble.java index 59e2f76c..f775738a 100644 --- a/altoslib/AltosPointDouble.java +++ b/altoslib/AltosPointDouble.java @@ -22,7 +22,7 @@ public class AltosPointDouble { public double x, y; public int hashCode() { - return new Double(x).hashCode() ^ new Double(y).hashCode(); + return Double.valueOf(x).hashCode() ^ Double.valueOf(y).hashCode(); } public boolean equals(Object o) {