Ignore:
Timestamp:
2011-04-20T15:14:02+02:00 (14 years ago)
Author:
stoecker
Message:

fix #6153 - spelling fixes

File:
1 edited

Legend:

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

    r4028 r4043  
    2727import java.util.List;
    2828import java.util.Map;
     29import java.util.Map.Entry;
    2930import java.util.Set;
    30 import java.util.Map.Entry;
    3131import java.util.TreeSet;
    3232import java.util.concurrent.ExecutionException;
     
    5050import org.openstreetmap.josm.data.Version;
    5151import org.openstreetmap.josm.gui.HelpAwareOptionPane;
     52import org.openstreetmap.josm.gui.HelpAwareOptionPane.ButtonSpec;
    5253import org.openstreetmap.josm.gui.JMultilineLabel;
    5354import org.openstreetmap.josm.gui.MapFrame;
    54 import org.openstreetmap.josm.gui.HelpAwareOptionPane.ButtonSpec;
    5555import org.openstreetmap.josm.gui.download.DownloadSelection;
    5656import org.openstreetmap.josm.gui.help.HelpUtil;
     
    477477            if (e.getCause() instanceof ClassNotFoundException) {
    478478                msg = tr("<html>Could not load plugin {0} because the plugin<br>main class ''{1}'' was not found.<br>"
    479                         + "Delete from preferences?", plugin.name, plugin.className);
     479                        + "Delete from preferences?</html>", plugin.name, plugin.className);
    480480            }
    481481        }  catch (Throwable e) {
    482482            e.printStackTrace();
    483483        }
    484         if(msg != null && confirmDisablePlugin(parent, msg, plugin.name))
     484        if(msg != null && confirmDisablePlugin(parent, msg, plugin.name)) {
    485485            Main.pref.removeFromCollection("plugins", plugin.name);
     486        }
    486487    }
    487488
     
    707708     */
    708709    public static List<PluginInformation>  updatePlugins(Window parent,
    709     List<PluginInformation> plugins, ProgressMonitor monitor)
    710     throws IllegalArgumentException{
     710            List<PluginInformation> plugins, ProgressMonitor monitor)
     711            throws IllegalArgumentException{
    711712        CheckParameterUtil.ensureParameterNotNull(plugins, "plugins");
    712713        if (monitor == null) {
     
    10011002            pl.remove(pi.name);
    10021003            pl.add(pi.name + " (" + (pi.localversion != null && !pi.localversion.equals("")
    1003             ? pi.localversion : "unknown") + ")");
     1004                    ? pi.localversion : "unknown") + ")");
    10041005        }
    10051006        Collections.sort(pl);
    1006         for (String s : pl)
     1007        for (String s : pl) {
    10071008            text += "Plugin: " + s + "\n";
     1009        }
    10081010        return text;
    10091011    }
Note: See TracChangeset for help on using the changeset viewer.