Ignore:
Timestamp:
2013-12-24T21:12:40+01:00 (10 years ago)
Author:
Don-vip
Message:

global use of Utils.joinAsHtmlUnorderedList()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/plugin/PluginListPanel.java

    r6142 r6524  
    3030import org.openstreetmap.josm.plugins.PluginInformation;
    3131import org.openstreetmap.josm.tools.OpenBrowser;
     32import org.openstreetmap.josm.tools.Utils;
    3233
    3334public class PluginListPanel extends VerticallyScrollablePanel{
     
    170171                otherPlugins.size()
    171172        ));
    172         sb.append("<ul>");
    173         for (String p: otherPlugins) {
    174             sb.append("<li>").append(p).append("</li>");
    175         }
    176         sb.append("</ul>").append("</html>");
     173        sb.append(Utils.joinAsHtmlUnorderedList(otherPlugins));
     174        sb.append("</html>");
    177175        JOptionPane.showMessageDialog(
    178176                parent,
Note: See TracChangeset for help on using the changeset viewer.