Changeset 5923 in josm for trunk/src/org/openstreetmap/josm/plugins
- Timestamp:
- 2013-05-04T03:30:57+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/PluginListParser.java
r5307 r5923 38 38 name.substring(0, name.length() - 4), 39 39 url 40 );40 ); 41 41 } catch(UnsupportedEncodingException e) { 42 42 throw new PluginListParseException(tr("Failed to create plugin information from manifest for plugin ''{0}''", name), e); … … 73 73 } 74 74 B; 75 */75 */ 76 76 for (String line = r.readLine(); line != null; line = r.readLine()) { 77 77 if (line.startsWith("\t")) { … … 87 87 String x[] = line.split(";"); 88 88 if(x.length != 2) 89 throw new IOException(tr("Illegal entry in plugin list."));89 throw new IOException(tr("Illegal entry in plugin list.")); 90 90 name = x[0]; 91 91 url = x[1]; … … 103 103 try { 104 104 if (name != null) { 105 PluginInformation info = createInfo(name, url, manifest .toString());105 PluginInformation info = createInfo(name, url, manifest); 106 106 if (info != null) { 107 107 for (PluginProxy plugin : PluginHandler.pluginList) {
Note: See TracChangeset
for help on using the changeset viewer.