Update data-generator

This commit is contained in:
Andrea Cavalli 2022-06-22 12:59:52 +02:00
parent e1b252f09e
commit 673b885366

View File

@ -1475,7 +1475,7 @@ public class SourcesGenerator {
Family toFamily = typeFamily.get(toTypeName); Family toFamily = typeFamily.get(toTypeName);
TypeName toType = nextVersionTypeTypes.get(toTypeName); TypeName toType = nextVersionTypeTypes.get(toTypeName);
Objects.requireNonNull(toType, Objects.requireNonNull(toType,
"Type " + toTypeName + " is unknown in version " + nextVersion.orElse(null) "Type " + key + "." + toTypeName + " is unknown in version " + nextVersion.orElse(null)
); );
TypeName toTypeBoxed = toType.isPrimitive() ? toType.box() : toType; TypeName toTypeBoxed = toType.isPrimitive() ? toType.box() : toType;
{ {