Changeset 35355 in osm for applications
- Timestamp:
- 2020-03-10T08:52:51+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/Coordinate.java
r35354 r35355 74 74 public boolean equals(Object o) { 75 75 if (this == o) return true; 76 if ( o == null || getClass() != o.getClass()) return false;76 if (!(o instanceof Coordinate)) return false; 77 77 Coordinate that = (Coordinate) o; 78 78 return Double.compare(that.x, x) == 0 && Double.compare(that.y, y) == 0;
Note:
See TracChangeset
for help on using the changeset viewer.