lishxi / osmdroid

Automatically exported from code.google.com/p/osmdroid
0 stars 0 forks source link

GeoPoint overrides equals but not hashCode #168

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of the product are you using? On what operating system?
r820

Attached diff to make hashCode consistent with equals, so it can be used as a 
HashMap key (and is generally good practice, Effective Java item 8).

Original issue reported on code.google.com by bob.hage...@gmail.com on 26 Feb 2011 at 3:41

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r823.

Original comment by neilboyd on 26 Feb 2011 at 7:40