Changeset 9085 in josm for trunk/src/org/openstreetmap/josm
- Timestamp:
- 2015-12-05T14:52:57+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/util/AdvancedKeyPressDetector.java
r9084 r9085 121 121 122 122 private void processKeyEvent(KeyEvent e) { 123 if (Main.is DebugEnabled()) {124 Main. debug("AdvancedKeyPressDetector enabled="+enabled+" => processKeyEvent("+e+") from "+new Exception().getStackTrace()[2]);123 if (Main.isTraceEnabled()) { 124 Main.trace("AdvancedKeyPressDetector enabled="+enabled+" => processKeyEvent("+e+") from "+new Exception().getStackTrace()[2]); 125 125 } 126 126 if (e.getID() == KeyEvent.KEY_PRESSED) { … … 130 130 if (isFocusInMainWindow()) { 131 131 for (KeyPressReleaseListener q: keyListeners) { 132 if (Main.is DebugEnabled()) {133 Main. debug(q+" => doKeyPressed("+e+')');132 if (Main.isTraceEnabled()) { 133 Main.trace(q+" => doKeyPressed("+e+')'); 134 134 } 135 135 q.doKeyPressed(e); … … 143 143 if (isFocusInMainWindow()) { 144 144 for (KeyPressReleaseListener q: keyListeners) { 145 if (Main.is DebugEnabled()) {146 Main. debug(q+" => doKeyReleased("+e+')');145 if (Main.isTraceEnabled()) { 146 Main.trace(q+" => doKeyReleased("+e+')'); 147 147 } 148 148 q.doKeyReleased(e);
Note:
See TracChangeset
for help on using the changeset viewer.