Ignore:
Timestamp:
2021-04-14T21:29:47+02:00 (3 years ago)
Author:
simon04
Message:

fix #20741 - Various code simplifications (patch by gaben)

File:
1 edited

Legend:

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

    r17333 r17787  
    271271        }
    272272        if (javaDur) {
    273             d = Duration.parse(javaPer ? 'P' + duration.substring(idx, duration.length()) : duration);
     273            d = Duration.parse(javaPer ? 'P' + duration.substring(idx) : duration);
    274274        } else if (!javaPer) {
    275275            d = Duration.parse(duration);
Note: See TracChangeset for help on using the changeset viewer.