Skip to content

Commit df97627

Browse files
committed
Merge pull request #25480 from maruoovv
* gh-25480: Correct javadoc for ON_PARAM Closes gh-25480
2 parents 3f241b6 + b401be1 commit df97627

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ErrorProperties.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public enum IncludeStacktrace {
117117
ALWAYS,
118118

119119
/**
120-
* Add error attribute when the appropriate request parameter is "true".
120+
* Add stacktrace attribute when the appropriate request parameter is not "false".
121121
*/
122122
ON_PARAM,
123123

@@ -145,7 +145,7 @@ public enum IncludeAttribute {
145145
ALWAYS,
146146

147147
/**
148-
* Add error attribute when the appropriate request parameter is "true".
148+
* Add error attribute when the appropriate request parameter is not "false".
149149
*/
150150
ON_PARAM
151151

0 commit comments

Comments
 (0)