Changeset 6226 in josm for trunk/src/org


Ignore:
Timestamp:
2013-09-09T01:12:38+02:00 (11 years ago)
Author:
Don-vip
Message:

fix #9057 - see #8987 - fix Coordinate.hashCode() broken in r6162

Location:
trunk/src/org/openstreetmap/josm/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/coor/Coordinate.java

    r6203 r6226  
    116116    public int hashCode() {
    117117        final int prime = 31;
    118         int result = super.hashCode();
     118        int result = 1;
    119119        long temp;
    120120        temp = java.lang.Double.doubleToLongBits(x);
  • trunk/src/org/openstreetmap/josm/data/osm/Storage.java

    r6137 r6226  
    150150     * @param capacity
    151151     * @param safeIterator If set to false, you must not modify the Storage
    152      *          while iterating over it. If set to true, you can savely
     152     *          while iterating over it. If set to true, you can safely
    153153     *          modify, but the read-only iteration will happen on a copy
    154154     *          of the unmodified Storage.
Note: See TracChangeset for help on using the changeset viewer.