Browse Source

Merge pull request #25480 from maruoovv

* gh-25480:
  Correct javadoc for ON_PARAM

Closes gh-25480
pull/25731/head
Andy Wilkinson 5 years ago
parent
commit
df97627b21
  1. 4
      spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ErrorProperties.java

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

@ -117,7 +117,7 @@ public class ErrorProperties { @@ -117,7 +117,7 @@ public class ErrorProperties {
ALWAYS,
/**
* Add error attribute when the appropriate request parameter is "true".
* Add stacktrace attribute when the appropriate request parameter is not "false".
*/
ON_PARAM,
@ -145,7 +145,7 @@ public class ErrorProperties { @@ -145,7 +145,7 @@ public class ErrorProperties {
ALWAYS,
/**
* Add error attribute when the appropriate request parameter is "true".
* Add error attribute when the appropriate request parameter is not "false".
*/
ON_PARAM

Loading…
Cancel
Save