Changeset 12620 in josm for trunk/src/org/openstreetmap/josm/actions/ImageryAdjustAction.java
- Timestamp:
- 2017-08-22T22:26:32+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ImageryAdjustAction.java
r12279 r12620 35 35 import org.openstreetmap.josm.tools.GBC; 36 36 import org.openstreetmap.josm.tools.ImageProvider; 37 import org.openstreetmap.josm.tools.Logging; 37 38 38 39 /** … … 102 103 Toolkit.getDefaultToolkit().addAWTEventListener(this, AWTEvent.KEY_EVENT_MASK); 103 104 } catch (SecurityException ex) { 104 Main.error(ex);105 Logging.error(ex); 105 106 } 106 107 } … … 123 124 Toolkit.getDefaultToolkit().removeAWTEventListener(this); 124 125 } catch (SecurityException ex) { 125 Main.error(ex);126 Logging.error(ex); 126 127 } 127 128 if (Main.isDisplayingMapView()) { … … 157 158 offsetDialog.updateOffset(); 158 159 } 159 if ( Main.isDebugEnabled()) {160 Main.debug(getClass().getName()+" consuming event "+kev);160 if (Logging.isDebugEnabled()) { 161 Logging.debug("{0} consuming event {1}", getClass().getName(), kev); 161 162 } 162 163 kev.consume(); … … 261 262 } catch (NumberFormatException nfe) { 262 263 // we repaint offset numbers in any case 263 Main.trace(nfe);264 Logging.trace(nfe); 264 265 } 265 266 }
Note:
See TracChangeset
for help on using the changeset viewer.