Changeset 11628 in josm


Ignore:
Timestamp:
2017-02-26T01:02:54+01:00 (7 years ago)
Author:
Don-vip
Message:

see #3346 - remove debug info committed accidentally

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/ValidatorDialog.java

    r11627 r11628  
    5757import org.openstreetmap.josm.tools.JosmRuntimeException;
    5858import org.openstreetmap.josm.tools.Shortcut;
    59 import org.openstreetmap.josm.tools.Utils;
    6059import org.xml.sax.SAXException;
    6160
     
    596595        protected void fixError(TestError error) throws InterruptedException, InvocationTargetException {
    597596            if (error.isFixable()) {
    598                 long start = System.currentTimeMillis();
    599597                final Command fixCommand = error.getFix();
    600                 long phase1 = System.currentTimeMillis() - start;
    601                 start = System.currentTimeMillis();
    602598                if (fixCommand != null) {
    603599                    SwingUtilities.invokeAndWait(() -> Main.main.undoRedo.addNoRedraw(fixCommand));
    604                     if (Main.isDebugEnabled()) {
    605                         long phase2 = System.currentTimeMillis() - start;
    606                         Main.debug(String.format("%s fix: %s + %s",
    607                                 error.getTester().getClass().getSimpleName(), Utils.getDurationString(phase1),
    608                                 Utils.getDurationString(phase2)));
    609                     }
    610600                }
    611601                // It is wanted to ignore an error if it said fixable, even if fixCommand was null
Note: See TracChangeset for help on using the changeset viewer.