Ignore:
Timestamp:
2016-01-20T00:05:07+01:00 (4 years ago)
Author:
Don-vip
Message:

refactoring - global simplification of use of setLayout method - simply pass layout to JPanel constructor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/upload/RelationUploadOrderHook.java

    r8856 r9543  
    3838     */
    3939    protected JPanel buildWarningPanel(List<Relation> dep) {
    40         JPanel pnl = new JPanel();
    41         pnl.setLayout(new BorderLayout());
     40        JPanel pnl = new JPanel(new BorderLayout());
    4241        String msg = tr("<html>{0} relations build a cycle because they refer to each other.<br>"
    4342                + "JOSM cannot upload them. Please edit the relations and remove the "
Note: See TracChangeset for help on using the changeset viewer.