spring-boot/spring-boot-tools
Stephane Nicoll 0b326035b0 Fix detection of property setter
Previously, the meta-data annotation processor was taking the first
setter that match the property name it has to handle. Contrary to
getters that are enforced by a return type (no argument), multiple
setter candidates may exist.

If a property's type got narrowed over time, the original setter may
have been marked as Deprecated. As the annotation processor takes the
first setter that matches based on the name only, it may pick up the
deprecated one and therefore mark the property as being (wrongly)
deprecatede in the meta-data.

It turns out that checking for the actual type of the setter parameter
brought a side effect: some primitive properties may use the primitive
or the Wrapper counter part. This commit not only look at the proper
setter based on the type but also fallback on the wrapper (or) primitive
if necessary.

Closes gh-4338
2015-10-31 10:16:24 +01:00
..
spring-boot-antlib Organize imports with new settings 2015-10-19 12:58:34 -07:00
spring-boot-configuration-metadata Organize imports with new settings 2015-10-19 12:58:34 -07:00
spring-boot-configuration-processor Fix detection of property setter 2015-10-31 10:16:24 +01:00
spring-boot-gradle-plugin Disable addResources by default 2015-10-20 15:04:25 +02:00
spring-boot-loader Update javadoc of LaunchedURLClassLoader to describe delegation model 2015-10-27 10:09:10 +00:00
spring-boot-loader-tools Set the working directory to that of the jar when using start-stop-daemon 2015-10-30 15:10:02 +00:00
spring-boot-maven-plugin Add "INIT INFO" property substitutions 2015-10-20 17:48:22 -07:00
pom.xml Next Development Version 2015-10-16 05:57:24 -07:00