Ignore:
Timestamp:
2015-06-20T14:36:00+02:00 (9 years ago)
Author:
Don-vip
Message:

fix many checkstyle violations

File:
1 edited

Legend:

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

    r8471 r8509  
    614614     * @since 5601
    615615     */
    616     public static boolean checkRequiredPluginsPreconditions(Component parent, Collection<PluginInformation> plugins, PluginInformation plugin, boolean local) {
     616    public static boolean checkRequiredPluginsPreconditions(Component parent, Collection<PluginInformation> plugins,
     617            PluginInformation plugin, boolean local) {
    617618
    618619        String requires = local ? plugin.localrequires : plugin.requires;
     
    11731174            if (plugin.exists() && !plugin.delete() && dowarn) {
    11741175                Main.warn(tr("Failed to delete outdated plugin ''{0}''.", plugin.toString()));
    1175                 Main.warn(tr("Failed to install already downloaded plugin ''{0}''. Skipping installation. JOSM is still going to load the old plugin version.", pluginName));
     1176                Main.warn(tr("Failed to install already downloaded plugin ''{0}''. Skipping installation. JOSM is still going to load the old plugin version.",
     1177                        pluginName));
    11761178                continue;
    11771179            }
     
    11811183            } catch (Exception e) {
    11821184                if (dowarn) {
    1183                     Main.warn(tr("Failed to install plugin ''{0}'' from temporary download file ''{1}''. {2}", plugin.toString(), updatedPlugin.toString(), e.getLocalizedMessage()));
     1185                    Main.warn(tr("Failed to install plugin ''{0}'' from temporary download file ''{1}''. {2}",
     1186                            plugin.toString(), updatedPlugin.toString(), e.getLocalizedMessage()));
    11841187                }
    11851188                continue;
     
    11871190            // Install plugin
    11881191            if (!updatedPlugin.renameTo(plugin) && dowarn) {
    1189                 Main.warn(tr("Failed to install plugin ''{0}'' from temporary download file ''{1}''. Renaming failed.", plugin.toString(), updatedPlugin.toString()));
    1190                 Main.warn(tr("Failed to install already downloaded plugin ''{0}''. Skipping installation. JOSM is still going to load the old plugin version.", pluginName));
     1192                Main.warn(tr("Failed to install plugin ''{0}'' from temporary download file ''{1}''. Renaming failed.",
     1193                        plugin.toString(), updatedPlugin.toString()));
     1194                Main.warn(tr("Failed to install already downloaded plugin ''{0}''. Skipping installation. JOSM is still going to load the old plugin version.",
     1195                        pluginName));
    11911196            }
    11921197        }
Note: See TracChangeset for help on using the changeset viewer.