Update data builder
This commit is contained in:
parent
05b3e9e67b
commit
54daed1dc8
@ -1478,6 +1478,9 @@ public class SourcesGenerator {
|
||||
String toTypeName = nextVersionFieldTypes.get(key);
|
||||
Family toFamily = typeFamily.get(toTypeName);
|
||||
TypeName toType = nextVersionTypeTypes.get(toTypeName);
|
||||
Objects.requireNonNull(toType,
|
||||
"Type " + toTypeName + " is unknown in version " + nextVersion.orElse(null)
|
||||
);
|
||||
TypeName toTypeBoxed = toType.isPrimitive() ? toType.box() : toType;
|
||||
{
|
||||
currentVarNumber.addTo(key, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user