This commit is contained in:
Stephane Nicoll 2022-09-09 11:35:09 +02:00
parent 2d4f308cc1
commit 6f5344ab5c
1 changed files with 1 additions and 0 deletions

View File

@ -502,6 +502,7 @@ class BeanDefinitionPropertyValueCodeGenerator {
private <K, V> CodeBlock generateLinkedHashMapCode(Map<K, V> map,
ResolvableType keyType, ResolvableType valueType) {
GeneratedMethods generatedMethods = BeanDefinitionPropertyValueCodeGenerator.this.generatedMethods;
GeneratedMethod generatedMethod = generatedMethods.add("getMap", method -> {
method.addAnnotation(AnnotationSpec
.builder(SuppressWarnings.class)