Ignore:
Timestamp:
2018-08-01T00:08:06+02:00 (17 months ago)
Author:
Don-vip
Message:

checkstyle/sonarqube

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/gpx/WayPoint.java

    r14055 r14068  
    163163            try {
    164164                final Object obj = get(PT_TIME);
    165                 final Date time = obj instanceof Date ? (Date) obj : DateUtils.fromString(obj.toString());
    166                 this.time = time.getTime() / 1000.;
    167                 return time;
     165                final Date date = obj instanceof Date ? (Date) obj : DateUtils.fromString(obj.toString());
     166                time = date.getTime() / 1000.;
     167                return date;
    168168            } catch (UncheckedParseException e) {
    169169                Logging.warn(e);
Note: See TracChangeset for help on using the changeset viewer.