1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-25 14:27:33 +00:00

Merge pull request #1122 from soloturn/java18

Double.valueOf instead of new Double()
This commit is contained in:
PlantUML 2022-09-18 19:18:13 +02:00 committed by GitHub
commit 7e1a26051e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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() {