Ignore:
Timestamp:
2016-01-05T23:03:56+01:00 (8 years ago)
Author:
bastiK
Message:

fix bug in hashCode() (relatively harmless this time)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/AreaElement.java

    r9298 r9323  
    141141        hash = 61 * hash + color.hashCode();
    142142        hash = 61 * hash + (extent != null ? Float.floatToIntBits(extent) : 0);
    143         hash = 61 * hash + (extentThreshold != null ? Float.floatToIntBits(extent) : 0);
     143        hash = 61 * hash + (extentThreshold != null ? Float.floatToIntBits(extentThreshold) : 0);
    144144        hash = 61 * hash + (fillImage != null ? fillImage.hashCode() : 0);
    145145        hash = 61 * hash + (text != null ? text.hashCode() : 0);
Note: See TracChangeset for help on using the changeset viewer.