[jOOQ/jOOQ#14756] javac can't infer this type?

This commit is contained in:
Lukas Eder 2023-07-07 17:52:01 +02:00
parent c70b490c99
commit aabda2ca53

View File

@ -1252,7 +1252,7 @@ implements
Entry<Field<?>, List<Field<?>>> e = it.next();
Field<?> n = inline(null, e.getKey());
e.getValue().clear();
e.getValue().addAll(map(values, v -> StringUtils.defaultIfNull(v.field(c), n)));
e.getValue().addAll(map(values, v -> (Field<?>) StringUtils.defaultIfNull(v.field(c), n)));
index++;
}
});