Changeset 3076 in josm for trunk/src/org/openstreetmap/josm/plugins
- Timestamp:
- 2010-03-04T10:33:47+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/PluginListParser.java
r2817 r3076 65 65 String url = null; 66 66 StringBuilder manifest = new StringBuilder(); 67 /* 68 code structure: 69 for () { 70 A; 71 B; 72 C; 73 } 74 B; 75 */ 67 76 for (String line = r.readLine(); line != null; line = r.readLine()) { 68 77 if (line.startsWith("\t")) { … … 78 87 PluginInformation info = createInfo(name, url, manifest.toString()); 79 88 if (info != null) { 89 for (PluginProxy plugin : PluginHandler.pluginList) { 90 if (plugin.getPluginInformation().name.equals(info.getName())) { 91 info.localversion = plugin.getPluginInformation().localversion; 92 } 93 } 80 94 ret.add(info); 81 95 } … … 90 104 PluginInformation info = createInfo(name, url, manifest.toString()); 91 105 if (info != null) { 106 for (PluginProxy plugin : PluginHandler.pluginList) { 107 if (plugin.getPluginInformation().name.equals(info.getName())) { 108 info.localversion = plugin.getPluginInformation().localversion; 109 } 110 } 92 111 ret.add(info); 93 112 }
Note:
See TracChangeset
for help on using the changeset viewer.