Changeset 12620 in josm for trunk/src/org/openstreetmap/josm/gui/layer/gpx/GpxDrawHelper.java
- Timestamp:
- 2017-08-22T22:26:32+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/gpx/GpxDrawHelper.java
r12367 r12620 55 55 import org.openstreetmap.josm.tools.ColorScale; 56 56 import org.openstreetmap.josm.tools.JosmRuntimeException; 57 import org.openstreetmap.josm.tools.Logging; 57 58 import org.openstreetmap.josm.tools.Utils; 58 59 … … 280 281 return ColorMode.fromIndex(i); 281 282 } catch (IndexOutOfBoundsException e) { 282 Main.warn(e);283 Logging.warn(e); 283 284 } 284 285 return ColorMode.NONE; … … 472 473 473 474 // show some debug info 474 if ( Main.isDebugEnabled() && !visibleSegments.isEmpty()) {475 if (Logging.isDebugEnabled() && !visibleSegments.isEmpty()) { 475 476 final long timeDiff = System.currentTimeMillis() - timeStart; 476 477 477 Main.debug("gpxdraw::draw takes " +478 Logging.debug("gpxdraw::draw takes " + 478 479 Utils.getDurationString(timeDiff) + 479 480 "(" +
Note:
See TracChangeset
for help on using the changeset viewer.