From 96198e2999ac9a6f874ab1958c5d85974a88b2a0 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Mon, 3 Nov 2014 10:22:46 +0100 Subject: [PATCH] polishing --- .../boot/cli/command/init/InitializrService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitializrService.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitializrService.java index d4a3e28070..34c3ceac7d 100644 --- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitializrService.java +++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitializrService.java @@ -162,7 +162,7 @@ class InitializrService { int statusCode = httpResponse.getStatusLine().getStatusCode(); message += " (unexpected " + statusCode + " error)"; } - throw new ReportableException(message.toString()); + throw new ReportableException(message); } private String extractMessage(HttpEntity entity) {