Ignore:
Timestamp:
2015-05-17T15:52:24+02:00 (4 years ago)
Author:
Don-vip
Message:

squid:S1244 - Floating point numbers should not be tested for equality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/CoordinateInfoViewer.java

    r8372 r8384  
    269269
    270270            // display the coordinates
    271             //
    272271            lblLat.setText(coord != null ? coord.latToString(CoordinateFormat.DECIMAL_DEGREES) : tr("(none)"));
    273272            lblLon.setText(coord != null ? coord.lonToString(CoordinateFormat.DECIMAL_DEGREES) : tr("(none)"));
    274273
    275274            // update background color to reflect differences in the coordinates
    276             //
    277275            if (coord == oppositeCoord ||
    278276                    (coord != null && oppositeCoord != null && coord.lat() == oppositeCoord.lat())) {
Note: See TracChangeset for help on using the changeset viewer.