From cb69c8f6569d33ec7ccd0ac7067b5fe0422a9c15 Mon Sep 17 00:00:00 2001 From: Raman Bohush Date: Mon, 13 May 2019 16:06:29 +0300 Subject: [PATCH] Refactoring --- .../samples/petclinic/system/CrashController.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/org/springframework/samples/petclinic/system/CrashController.java b/src/main/java/org/springframework/samples/petclinic/system/CrashController.java index 05be70429..017b28345 100644 --- a/src/main/java/org/springframework/samples/petclinic/system/CrashController.java +++ b/src/main/java/org/springframework/samples/petclinic/system/CrashController.java @@ -30,8 +30,6 @@ class CrashController { @GetMapping("/oups") public String triggerException() { - throw new RuntimeException("Expected: controller used to showcase what " - + "happens when an exception is thrown"); + throw new RuntimeException("Expected: controller used to showcase what happens when an exception is thrown"); } - }