Changeset 17754 in josm for trunk/src/org


Ignore:
Timestamp:
2021-04-12T00:16:09+02:00 (3 years ago)
Author:
simon04
Message:

https://errorprone.info/bugpattern/UnnecessaryParentheses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/AbstractReader.java

    r17749 r17754  
    431431        }
    432432        try {
    433             int timestamp = timestampCache.computeIfAbsent(time, t -> (int) (DateUtils.parseInstant(t).getEpochSecond()));
     433            int timestamp = timestampCache.computeIfAbsent(time, t -> (int) DateUtils.parseInstant(t).getEpochSecond());
    434434            current.setRawTimestamp(timestamp);
    435435        } catch (UncheckedParseException | DateTimeException e) {
Note: See TracChangeset for help on using the changeset viewer.