Ignore:
Timestamp:
2013-05-04T03:30:57+02:00 (11 years ago)
Author:
Don-vip
Message:

fix #8655 - Removed unecessary toString() calls on Strings (patch by Skyman)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/plugins/PluginListParser.java

    r5307 r5923  
    3838                    name.substring(0, name.length() - 4),
    3939                    url
    40             );
     40                    );
    4141        } catch(UnsupportedEncodingException e) {
    4242            throw new PluginListParseException(tr("Failed to create plugin information from manifest for plugin ''{0}''", name), e);
     
    7373                }
    7474                B;
    75             */
     75             */
    7676            for (String line = r.readLine(); line != null; line = r.readLine()) {
    7777                if (line.startsWith("\t")) {
     
    8787                String x[] = line.split(";");
    8888                if(x.length != 2)
    89                   throw new IOException(tr("Illegal entry in plugin list."));
     89                    throw new IOException(tr("Illegal entry in plugin list."));
    9090                name = x[0];
    9191                url = x[1];
     
    103103        try {
    104104            if (name != null) {
    105                 PluginInformation info = createInfo(name, url, manifest.toString());
     105                PluginInformation info = createInfo(name, url, manifest);
    106106                if (info != null) {
    107107                    for (PluginProxy plugin : PluginHandler.pluginList) {
Note: See TracChangeset for help on using the changeset viewer.