Ignore:
Timestamp:
2015-05-17T05:48:46+02:00 (10 years ago)
Author:
Don-vip
Message:

Consecutively calls to StringBuffer/StringBuilder .append should reuse the target object

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/conflict/pair/ListMergeModel.java

    r8375 r8379  
    357357        }
    358358        StringBuilder sb = new StringBuilder();
    359         sb.append("<html>");
    360         sb.append(tr("The following objects could not be copied to the target object<br>because they are deleted in the target dataset:"));
    361         sb.append(Utils.joinAsHtmlUnorderedList(items));
    362         sb.append("</html>");
     359        sb.append("<html>")
     360          .append(tr("The following objects could not be copied to the target object<br>because they are deleted in the target dataset:"))
     361          .append(Utils.joinAsHtmlUnorderedList(items))
     362          .append("</html>");
    363363        HelpAwareOptionPane.showOptionDialog(
    364364                Main.parent,
Note: See TracChangeset for help on using the changeset viewer.