This commit is contained in:
Andrea Cavalli 2022-06-22 19:16:47 +02:00
parent efdbbcdc9b
commit f4fcc7d6d6

View File

@ -1375,7 +1375,7 @@ public class SourcesGenerator {
); );
deserializeMethod.addStatement( deserializeMethod.addStatement(
"$$field$$" + (currentVarNumber.getInt(upgradeDataTransformation.from) + 1) + "$$" "$$field$$" + (currentVarNumber.getInt(upgradeDataTransformation.from) + 1) + "$$"
+ upgradeDataTransformation.from + " ($T) " + dataUpgraderFieldName + ".upgrade(($T) $$field$$" + upgradeDataTransformation.from + " = ($T) " + dataUpgraderFieldName + ".upgrade(($T) $$field$$"
+ currentVarNumber.getInt(upgradeDataTransformation.from) + "$$" + currentVarNumber.getInt(upgradeDataTransformation.from) + "$$"
+ upgradeDataTransformation.from + ")", toType, toTypeBoxed, fromTypeBoxed); + upgradeDataTransformation.from + ")", toType, toTypeBoxed, fromTypeBoxed);
Objects.requireNonNull(currentTransformedFieldTypes.remove( Objects.requireNonNull(currentTransformedFieldTypes.remove(