Ignore:
Timestamp:
2019-12-13T00:48:33+01:00 (6 years ago)
Author:
Don-vip
Message:

code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/RequestHandler.java

    r14153 r15586  
    188188                label.setText(message.replaceFirst("<div>", "<div style=\"width:" + maxWidth + "px;\">"));
    189189            }
    190             Object[] choices = new Object[] {tr("Yes, always"), tr("Yes, once"), tr("No")};
     190            Object[] choices = {tr("Yes, always"), tr("Yes, once"), tr("No")};
    191191            int choice = JOptionPane.showOptionDialog(MainApplication.getMainFrame(), label, tr("Confirm Remote Control action"),
    192192                    JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, choices, choices[1]);
Note: See TracChangeset for help on using the changeset viewer.