Skip to content

Commit a00a54e

Browse files
committed
Fix style violation in InstallPluginCommand.java
This commit fixes a checkstyle violation in InstallPluginCommand.java added after renaming UserError to UserException in f9d55be.
1 parent f9d55be commit a00a54e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/src/main/java/org/elasticsearch/plugins/InstallPluginCommand.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,8 @@ private PluginInfo verify(Terminal terminal, Path pluginRoot, boolean isBatch, E
425425
// don't let luser install plugin as a module...
426426
// they might be unavoidably in maven central and are packaged up the same way)
427427
if (MODULES.contains(info.getName())) {
428-
throw new UserException(ExitCodes.USAGE, "plugin '" + info.getName() + "' cannot be installed like this, it is a system module");
428+
throw new UserException(
429+
ExitCodes.USAGE, "plugin '" + info.getName() + "' cannot be installed like this, it is a system module");
429430
}
430431

431432
// check for jar hell before any copying

0 commit comments

Comments
 (0)