From de7ff0670d95c63cc0303a1e439644f81c955709 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Tue, 19 Aug 2014 14:22:46 -0700 Subject: [PATCH] Polish --- .../boot/cli/command/install/InstallCommand.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/install/InstallCommand.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/install/InstallCommand.java index 5b5d9c7f35..aaf1d41331 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/install/InstallCommand.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/install/InstallCommand.java @@ -44,8 +44,9 @@ import org.springframework.boot.cli.util.Log; import org.springframework.util.SystemPropertyUtils; /** - * @author Dave Syer + * {@link Command} to install additional dependencies into the CLI. * + * @author Dave Syer */ public class InstallCommand extends OptionParsingCommand { @@ -123,9 +124,9 @@ public class InstallCommand extends OptionParsingCommand { } FileUtils.deleteDirectory(tmpdir.toFile()); } - catch (Exception e) { - String message = e.getMessage(); - Log.error(message != null ? message : e.getClass().toString()); + catch (Exception ex) { + String message = ex.getMessage(); + Log.error(message != null ? message : ex.getClass().toString()); } finally { if (grapeRoot != null) {