Changeset 14068 in josm for trunk/src/org


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

checkstyle/sonarqube

Location:
trunk/src/org/openstreetmap/josm
Files:
2 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);
  • trunk/src/org/openstreetmap/josm/gui/progress/swing/ProgressMonitorExecutor.java

    r14052 r14068  
    5151                t = cancellationException;
    5252            } catch (ExecutionException executionException) {
     53                Logging.trace(executionException);
    5354                t = executionException.getCause();
    5455            } catch (InterruptedException interruptedException) {
Note: See TracChangeset for help on using the changeset viewer.