Ignore:
Timestamp:
2014-07-21T01:51:53+02:00 (9 years ago)
Author:
Don-vip
Message:

fix #10287 - robustness to system time going backwards during josm startup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r7119 r7321  
    887887    public static String getDurationString(long elapsedTime) throws IllegalArgumentException {
    888888        if (elapsedTime < 0) {
    889             throw new IllegalArgumentException("elapsedTime must be > 0");
     889            throw new IllegalArgumentException("elapsedTime must be >= 0");
    890890        }
    891891        // Is it less than 1 second ?
Note: See TracChangeset for help on using the changeset viewer.