Update XYLocation.java