You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spring-boot/spring-boot-tools
Stephane Nicoll 17f8a244de Fix property names with successive capital letters
Previously, if a property name had successive capital letters, the
generated meta-data would clean it in such a way it is defined as a
regular word. For instance a `myFOO` property would be written as
`my-foo` in the meta-data.

It turns out this decision is wrong as the binder has no way to compute
back the name of the property and therefore `my-foo` wouldn't bind to
`setMyFOO` as it should.

This commit updates the meta-data name generation algorithm to properly
identify such cases: `myFOO` now translates to `my-f-o-o`. While the
generated name is a bit ugly, it now provides a consistent binding
experience.

Closes gh-5330
9 years ago
..
spring-boot-antlib Next Development Version 9 years ago
spring-boot-configuration-metadata Next Development Version 9 years ago
spring-boot-configuration-processor Fix property names with successive capital letters 9 years ago
spring-boot-gradle-plugin Allow custom repackage task to be used without a global main class 9 years ago
spring-boot-loader Create FilePermission lazily in JarURLConnection 9 years ago
spring-boot-loader-tools Create PID_FOLDER if it doesn't exist 9 years ago
spring-boot-maven-plugin Document available layouts 9 years ago
pom.xml Next Development Version 9 years ago