Changeset 6643 in josm for trunk/test/functional


Ignore:
Timestamp:
2014-01-06T16:39:45+01:00 (6 years ago)
Author:
Don-vip
Message:

global replacement of e.printStackTrace() by Main.error(e)

Location:
trunk/test/functional/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/functional/org/openstreetmap/josm/gui/history/HistoryBrowserTest.java

    r6289 r6643  
    8282            ds = reader.parseHistory(NullProgressMonitor.INSTANCE);
    8383        } catch(OsmTransferException e) {
    84             e.printStackTrace();
     84            Main.error(e);
    8585            return;
    8686        }
  • trunk/test/functional/org/openstreetmap/josm/io/UploadStrategySelectionPanelTest.java

    r4311 r6643  
    1212import javax.swing.JTextField;
    1313
     14import org.openstreetmap.josm.Main;
    1415import org.openstreetmap.josm.gui.io.UploadStrategySelectionPanel;
    1516import org.openstreetmap.josm.gui.progress.NullProgressMonitor;
     
    4041                            n = Integer.parseInt(tf.getText());
    4142                        } catch(NumberFormatException e) {
    42                             e.printStackTrace();
     43                            Main.error(e);
    4344                            return;
    4445                        }
     
    4950        return pnl;
    5051    }
     52   
     53    /**
     54     * Constructs a new {@code UploadStrategySelectionPanelTest}.
     55     */
    5156    public UploadStrategySelectionPanelTest() {
    5257        build();
Note: See TracChangeset for help on using the changeset viewer.