From 2b6a0d533e09f82e5d638cd4f402e3f22454158a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Wed, 17 Sep 2025 15:37:25 +0200 Subject: [PATCH] Remove unused code Closes gh-47235 --- .../autoconfigure/web/ErrorProperties.java | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ErrorProperties.java b/core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ErrorProperties.java index 74f5849c300..f3db3696d2b 100644 --- a/core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ErrorProperties.java +++ b/core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ErrorProperties.java @@ -114,28 +114,6 @@ public class ErrorProperties { return this.whitelabel; } - /** - * Include Stacktrace attribute options. - */ - public enum IncludeStacktrace { - - /** - * Never add stacktrace information. - */ - NEVER, - - /** - * Always add stacktrace information. - */ - ALWAYS, - - /** - * Add stacktrace attribute when the appropriate request parameter is not "false". - */ - ON_PARAM - - } - /** * Include error attributes options. */