Ignore:
Timestamp:
2015-05-17T15:52:24+02:00 (9 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/layer/geoimage/CorrelateGpxWithImages.java

    r8378 r8384  
    907907                    // parse slider position into real timezone
    908908                    double tz = Math.abs(sldTimezone.getValue());
    909                     String zone = tz % 2 == 0
     909                    String zone = Double.doubleToRawLongBits(tz % 2) == 0
    910910                    ? (int)Math.floor(tz/2) + ":00"
    911911                            : (int)Math.floor(tz/2) + ":30";
Note: See TracChangeset for help on using the changeset viewer.