- Timestamp:
- 2021-05-04T21:01:14+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Storage.java
r17787 r17860 9 9 import java.util.Map; 10 10 import java.util.NoSuchElementException; 11 import java.util.Objects; 11 12 import java.util.Set; 12 13 … … 402 403 @Override 403 404 public int getHashCode(O t) { 404 return t.hashCode();405 return Objects.hashCode(t); 405 406 } 406 407 407 408 @Override 408 409 public boolean equals(O t1, O t2) { 409 return t1.equals(t2);410 return Objects.equals(t1, t2); 410 411 } 411 412 };
Note:
See TracChangeset
for help on using the changeset viewer.