Skip to content

Commit b401be1

Browse files
maruoovvwilkinsona
authored andcommitted
Correct javadoc for ON_PARAM
See gh-25480
1 parent 3f241b6 commit b401be1

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)