Commit de7ff067 authored by Phillip Webb's avatar Phillip Webb

Polish

parent 90b12d73
...@@ -44,8 +44,9 @@ import org.springframework.boot.cli.util.Log; ...@@ -44,8 +44,9 @@ import org.springframework.boot.cli.util.Log;
import org.springframework.util.SystemPropertyUtils; 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 { public class InstallCommand extends OptionParsingCommand {
...@@ -123,9 +124,9 @@ public class InstallCommand extends OptionParsingCommand { ...@@ -123,9 +124,9 @@ public class InstallCommand extends OptionParsingCommand {
} }
FileUtils.deleteDirectory(tmpdir.toFile()); FileUtils.deleteDirectory(tmpdir.toFile());
} }
catch (Exception e) { catch (Exception ex) {
String message = e.getMessage(); String message = ex.getMessage();
Log.error(message != null ? message : e.getClass().toString()); Log.error(message != null ? message : ex.getClass().toString());
} }
finally { finally {
if (grapeRoot != null) { if (grapeRoot != null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment