Update data builder
This commit is contained in:
parent
05b3e9e67b
commit
54daed1dc8
|
@ -1478,6 +1478,9 @@ public class SourcesGenerator {
|
||||||
String toTypeName = nextVersionFieldTypes.get(key);
|
String toTypeName = nextVersionFieldTypes.get(key);
|
||||||
Family toFamily = typeFamily.get(toTypeName);
|
Family toFamily = typeFamily.get(toTypeName);
|
||||||
TypeName toType = nextVersionTypeTypes.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;
|
TypeName toTypeBoxed = toType.isPrimitive() ? toType.box() : toType;
|
||||||
{
|
{
|
||||||
currentVarNumber.addTo(key, 1);
|
currentVarNumber.addTo(key, 1);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user