spring-boot/spring-boot-project
Phillip Webb d8141e6a8d Allow Producible enums to indicate a default value
Add an `isDefault()` method to `Producible` which can be used to
indicate which of the enum values should be used when the accept header
is `*/*` or `null`.

Prior to this commit, the last enum value was always used as the
default.

See gh-28130
2021-10-05 09:39:28 +01:00
..
spring-boot Merge branch '2.4.x' into 2.5.x 2021-10-01 15:54:49 -07:00
spring-boot-actuator Allow Producible enums to indicate a default value 2021-10-05 09:39:28 +01:00
spring-boot-actuator-autoconfigure Merge branch '2.4.x' into 2.5.x 2021-09-21 11:17:55 -07:00
spring-boot-autoconfigure Merge branch '2.4.x' into 2.5.x 2021-10-01 11:32:22 +01:00
spring-boot-cli Avoid illegal reflective access in CLI tests 2021-06-23 21:34:54 -07:00
spring-boot-dependencies Upgrade to SendGrid 4.7.5 2021-09-23 07:34:55 +02:00
spring-boot-devtools Merge branch '2.4.x' into 2.5.x 2021-08-18 13:51:49 +01:00
spring-boot-docs Merge branch '2.4.x' into 2.5.x 2021-10-05 08:35:24 +02:00
spring-boot-parent Merge branch '2.4.x' into 2.5.x 2021-09-07 09:46:33 +01:00
spring-boot-properties-migrator Merge branch '2.3.x' into 2.4.x 2021-02-02 15:12:27 +00:00
spring-boot-starters Revert "Avoid dependency on Kotlin when depending on spring-security-config" 2021-06-22 07:55:47 +02:00
spring-boot-test Merge branch '2.4.x' into 2.5.x 2021-08-23 13:26:37 +01:00
spring-boot-test-autoconfigure Merge branch '2.4.x' into 2.5.x 2021-10-01 08:13:49 +02:00
spring-boot-tools Merge branch '2.4.x' into 2.5.x 2021-10-04 10:21:49 +01:00