Ignore:
Timestamp:
2015-05-17T05:48:46+02:00 (11 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/plugins/PluginInformation.java

    r8342 r8379  
    305305    public String getDescriptionAsHtml() {
    306306        StringBuilder sb = new StringBuilder();
    307         sb.append("<html><body>");
    308         sb.append(description == null ? tr("no description available") : description);
     307        sb.append("<html><body>")
     308          .append(description == null ? tr("no description available") : description);
    309309        if (link != null) {
    310310            sb.append(" <a href=\"").append(link).append("\">").append(tr("More info...")).append("</a>");
Note: See TracChangeset for help on using the changeset viewer.