Ignore:
Timestamp:
2015-06-02T16:40:38+02:00 (4 years ago)
Author:
Don-vip
Message:

remove extra whitespaces

Location:
trunk/src/org/openstreetmap/josm/plugins
Files:
3 edited

Legend:

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

    r8394 r8443  
    111111            );
    112112            dialog.setContent(tr("JOSM version {0} required for plugin {1}.", pi.mainversion, pi.name));
    113             dialog.setButtonIcons(new String[] { "download", "cancel" });
     113            dialog.setButtonIcons(new String[] {"download", "cancel"});
    114114            dialog.showDialog();
    115115            int answer = dialog.getValue();
  • trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java

    r8404 r8443  
    208208     * List of unmaintained plugins. Not really up-to-date as the vast majority of plugins are not maintained after a few months, sadly...
    209209     */
    210     private static final String [] UNMAINTAINED_PLUGINS = new String[] {"gpsbabelgui", "Intersect_way"};
     210    private static final String[] UNMAINTAINED_PLUGINS = new String[] {"gpsbabelgui", "Intersect_way"};
    211211
    212212    /**
     
    360360        if (message == null) return false;
    361361
    362         ButtonSpec [] options = new ButtonSpec[] {
     362        ButtonSpec[] options = new ButtonSpec[] {
    363363                new ButtonSpec(
    364364                        tr("Update plugins"),
     
    984984                // notify user if downloading a locally installed plugin failed
    985985                //
    986                 if (! pluginDownloadTask.getFailedPlugins().isEmpty()) {
     986                if (!pluginDownloadTask.getFailedPlugins().isEmpty()) {
    987987                    alertFailedPluginUpdate(parent, pluginDownloadTask.getFailedPlugins());
    988988                    return plugins;
     
    10101010     */
    10111011    public static boolean confirmDisablePlugin(Component parent, String reason, String name) {
    1012         ButtonSpec [] options = new ButtonSpec[] {
     1012        ButtonSpec[] options = new ButtonSpec[] {
    10131013                new ButtonSpec(
    10141014                        tr("Disable plugin"),
     
    10751075    public static void installDownloadedPlugins(boolean dowarn) {
    10761076        File pluginDir = Main.pref.getPluginsDirectory();
    1077         if (! pluginDir.exists() || ! pluginDir.isDirectory() || ! pluginDir.canWrite())
     1077        if (!pluginDir.exists() || !pluginDir.isDirectory() || !pluginDir.canWrite())
    10781078            return;
    10791079
     
    12761276        );
    12771277        final PluginInformation pluginInfo = plugin.getPluginInformation();
    1278         if (! plugins.contains(pluginInfo.name))
     1278        if (!plugins.contains(pluginInfo.name))
    12791279            // plugin not activated ? strange in this context but anyway, don't bother
    12801280            // the user with dialogs, skip conditional deactivation
  • trunk/src/org/openstreetmap/josm/plugins/ReadRemotePluginInformationTask.java

    r8390 r8443  
    317317        List<File> siteCacheFiles = new LinkedList<>();
    318318        for (String location : PluginInformation.getPluginLocations()) {
    319             File [] f = new File(location).listFiles(
     319            File[] f = new File(location).listFiles(
    320320                    new FilenameFilter() {
    321321                        @Override
Note: See TracChangeset for help on using the changeset viewer.