Ignore:
Timestamp:
2017-03-02T01:59:40+01:00 (3 years ago)
Author:
Don-vip
Message:

sonar - pmd:UseStringBufferForStringAppends

File:
1 edited

Legend:

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

    r11339 r11649  
    7070                        + "This may both clutter your screen with browser windows<br>"
    7171                        + "and take some time to finish.", numBrowsers, numBrowsers);
    72         msg = "<html>" + msg + "</html>";
    7372        ButtonSpec[] spec = new ButtonSpec[] {
    7473                new ButtonSpec(
     
    8887        return 0 == HelpAwareOptionPane.showOptionDialog(
    8988                Main.parent,
    90                 msg,
     89                new StringBuilder(msg).insert(0, "<html>").append("</html>").toString(),
    9190                tr("Warning"),
    9291                JOptionPane.WARNING_MESSAGE,
Note: See TracChangeset for help on using the changeset viewer.