Fix description
This commit is contained in:
parent
673b885366
commit
ee9ec179d7
@ -1474,9 +1474,8 @@ 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,
|
Objects.requireNonNull(toType, "Field " + key + " of type "
|
||||||
"Type " + key + "." + toTypeName + " is unknown in version " + nextVersion.orElse(null)
|
+ type + " is missing 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