Commit 7a000e68 authored by Andy Wilkinson's avatar Andy Wilkinson

Work around null return from getMetaAnnotationTypes during doc generation

parent db903c21
...@@ -94,7 +94,7 @@ Set<String> findMetaImporters(AnnotationMetadata annotationMetadata) { ...@@ -94,7 +94,7 @@ Set<String> findMetaImporters(AnnotationMetadata annotationMetadata) {
} }
boolean isAutoConfigurationImporter(String annotationType, AnnotationMetadata metadata) { boolean isAutoConfigurationImporter(String annotationType, AnnotationMetadata metadata) {
metadata.getMetaAnnotationTypes(annotationType).contains('org.springframework.boot.autoconfigure.ImportAutoConfiguration') metadata.getMetaAnnotationTypes(annotationType)?.contains('org.springframework.boot.autoconfigure.ImportAutoConfiguration')
} }
void writeTestSlicesTable(List<TestSlice> testSlices) { void writeTestSlicesTable(List<TestSlice> testSlices) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment