1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-05-31 23:50:49 +00:00

Double.valueOf instead of new Double()

This commit is contained in:
soloturn 2022-09-17 19:37:51 +02:00
parent 74ce471d71
commit e8d057127a

View File

@ -30,7 +30,7 @@ public class XPoint2D {
@Override
public int hashCode() {
return new Double(x).hashCode() + new Double(y).hashCode();
return Double.valueOf(x).hashCode() + Double.valueOf(y).hashCode();
}
public final double getX() {