GeoPoint.clone without altitude
Closed this issue · 1 comments
GoogleCodeExporter commented
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
GoogleCodeExporter commented
This issue was closed by revision r1396.
Original comment by neilboyd
on 3 Jan 2014 at 7:37
- Changed state: Fixed