GeoPoint clone method doesn't copy the altitude attribute.
The method could also return a GeoPoint instead of an Object (legal - and
practical - since Java 5).
So the full fix:
@Override public GeoPoint clone() {
return new GeoPoint(this.mLatitudeE6, this.mLongitudeE6, this.mAltitude);
}
Original issue reported on code.google.com by mathieu....@gmail.com on 2 Jan 2014 at 10:46
Original issue reported on code.google.com by
mathieu....@gmail.com
on 2 Jan 2014 at 10:46