Changeset 15716 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/plugin/PluginPreference.java
- Timestamp:
- 2020-01-18T14:13:56+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/plugin/PluginPreference.java
r15587 r15716 17 17 import java.lang.reflect.InvocationTargetException; 18 18 import java.util.ArrayList; 19 import java.util.Arrays;20 19 import java.util.Collection; 21 20 import java.util.Collections; … … 65 64 import org.openstreetmap.josm.tools.ImageProvider; 66 65 import org.openstreetmap.josm.tools.Logging; 67 import org.openstreetmap.josm.tools.Utils;68 66 69 67 /** … … 506 504 JCheckBox deleteNotInList = new JCheckBox(tr("Disable all other plugins")); 507 505 508 JLabel helpLabel = new JLabel("<html>" + Utils.join("<br/>", Arrays.asList(506 JLabel helpLabel = new JLabel("<html>" + String.join("<br/>", 509 507 tr("Enter a list of plugins you want to download."), 510 508 tr("You should add one plugin id per line, version information is ignored."), 511 tr("You can copy+paste the list of a status report here.")) )+ "</html>");509 tr("You can copy+paste the list of a status report here.")) + "</html>"); 512 510 513 511 if (JOptionPane.OK_OPTION == JOptionPane.showConfirmDialog(GuiHelper.getFrameForComponent(getTabPane()), … … 559 557 560 558 private boolean confirmIgnoreNotFound(List<String> notFound) { 561 String list = "<ul><li>" + Utils.join("</li><li>", notFound) + "</li></ul>";559 String list = "<ul><li>" + String.join("</li><li>", notFound) + "</li></ul>"; 562 560 String message = "<html>" + tr("The following plugins were not found. Continue anyway?") + list + "</html>"; 563 561 return JOptionPane.showConfirmDialog(GuiHelper.getFrameForComponent(getTabPane()),
Note:
See TracChangeset
for help on using the changeset viewer.