Changeset 8338 in josm for trunk/src/org/openstreetmap/josm/plugins
- Timestamp:
- 2015-05-07T01:27:41+02:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java
r8308 r8338 745 745 return null; 746 746 } 747 HashMap<String, PluginInformation> ret = new HashMap<>();747 Map<String, PluginInformation> ret = new HashMap<>(); 748 748 for (PluginInformation pi: task.getAvailablePlugins()) { 749 749 ret.put(pi.name, pi); … … 1319 1319 public static String getBugReportText() { 1320 1320 StringBuilder text = new StringBuilder(); 1321 Li nkedList <String> pl = new LinkedList<>(Main.pref.getCollection("plugins", new LinkedList<String>()));1321 List <String> pl = new LinkedList<>(Main.pref.getCollection("plugins", new LinkedList<String>())); 1322 1322 for (final PluginProxy pp : pluginList) { 1323 1323 PluginInformation pi = pp.getPluginInformation(); -
trunk/src/org/openstreetmap/josm/plugins/ReadRemotePluginInformationTask.java
r8290 r8338 27 27 import java.util.LinkedList; 28 28 import java.util.List; 29 import java.util.Set; 29 30 30 31 import javax.swing.JLabel; … … 276 277 protected List<PluginInformation> filterDeprecatedPlugins(List<PluginInformation> plugins) { 277 278 List<PluginInformation> ret = new ArrayList<>(plugins.size()); 278 HashSet<String> deprecatedPluginNames = new HashSet<>();279 Set<String> deprecatedPluginNames = new HashSet<>(); 279 280 for (PluginHandler.DeprecatedPlugin p : PluginHandler.DEPRECATED_PLUGINS) { 280 281 deprecatedPluginNames.add(p.name);
Note:
See TracChangeset
for help on using the changeset viewer.