Changeset 33081 in osm for applications/viewer/jmapviewer


Ignore:
Timestamp:
2016-11-22T21:08:22+01:00 (8 years ago)
Author:
simon04
Message:

see #josm13376 - Use TimeUnit instead of combinations of 1000/60/60/24

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/tilesources/BingAerialTileSource.java

    r33079 r33081  
    244244                    } catch (IOException ex) {
    245245                        System.err.println("Could not connect to Bing API. Will retry in " + waitTimeSec + " seconds.");
    246                         Thread.sleep(waitTimeSec * 1000L);
     246                        Thread.sleep(TimeUnit.SECONDS.toMillis(waitTimeSec));
    247247                        waitTimeSec *= 2;
    248248                    }
Note: See TracChangeset for help on using the changeset viewer.