Ignore:
Timestamp:
2014-04-29T01:18:18+02:00 (10 years ago)
Author:
Don-vip
Message:

see #8465 - enable -Xlint:cast and fix associated warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/geoimage/CorrelateGpxWithImages.java

    r7017 r7021  
    11751175        // Time between the track point and the previous one, 5 sec if first point, i.e. photos take
    11761176        // 5 sec before the first track point can be assumed to be take at the starting position
    1177         long interval = prevWpTime > 0 ? ((long)Math.abs(curWpTime - prevWpTime)) : 5*1000;
     1177        long interval = prevWpTime > 0 ? (Math.abs(curWpTime - prevWpTime)) : 5*1000;
    11781178        int ret = 0;
    11791179
Note: See TracChangeset for help on using the changeset viewer.