spring-boot/spring-boot-test-autoconfigure
Phillip Webb 79b5dd3ae7 Protect against NPE when collecting annotations
Update `AnnotationsPropertySource` to ensure that `null` results from
`findMergedAnnotation` are not added to the annotation list.

Prior to this commit, if `findMergedAnnotation` returned `null` then
`AnnotationsPropertySource.collectProperties` would throw an NPE.
Although `findMergedAnnotation` should never return `null`, we're
best off being defensive so that bugs such as SPR-17495 won't cause
problems.

Closes gh-15175
2018-11-14 15:50:53 -08:00
..
src Protect against NPE when collecting annotations 2018-11-14 15:50:53 -08:00
pom.xml Next development version 2018-10-16 08:44:44 +00:00