From e081b2b2e84537e0e6d93b2955c4c098f939450d Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Tue, 6 Sep 2016 07:28:05 -0400 Subject: [PATCH] Remove length violation in RemovePluginCommand This commit removes a line-length violation in RemovePluginCommand.java and removes this file from the list of files for which the line-length check is suppressed. --- buildSrc/src/main/resources/checkstyle_suppressions.xml | 1 - .../java/org/elasticsearch/plugins/RemovePluginCommand.java | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/resources/checkstyle_suppressions.xml b/buildSrc/src/main/resources/checkstyle_suppressions.xml index d50f362a73e..14c2bc8ca5a 100644 --- a/buildSrc/src/main/resources/checkstyle_suppressions.xml +++ b/buildSrc/src/main/resources/checkstyle_suppressions.xml @@ -470,7 +470,6 @@ - diff --git a/core/src/main/java/org/elasticsearch/plugins/RemovePluginCommand.java b/core/src/main/java/org/elasticsearch/plugins/RemovePluginCommand.java index 0b4f8d281d0..3a500b6c7ba 100644 --- a/core/src/main/java/org/elasticsearch/plugins/RemovePluginCommand.java +++ b/core/src/main/java/org/elasticsearch/plugins/RemovePluginCommand.java @@ -66,7 +66,9 @@ class RemovePluginCommand extends SettingCommand { Path pluginDir = env.pluginsFile().resolve(pluginName); if (Files.exists(pluginDir) == false) { - throw new UserException(ExitCodes.USAGE, "plugin " + pluginName + " not found; run 'elasticsearch-plugin list' to get list of installed plugins"); + throw new UserException( + ExitCodes.USAGE, + "plugin " + pluginName + " not found; run 'elasticsearch-plugin list' to get list of installed plugins"); } List pluginPaths = new ArrayList<>();