Add modifier extensions to tha actual modifier extensions collection

This commit is contained in:
David Maplesden 2019-09-17 12:52:31 +12:00 committed by James Agnew
parent 946f3a1732
commit c8c8ab6881
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ public class JsonParser extends BaseParser implements IJsonLikeParser {
if (nextValue instanceof IBaseHasModifierExtensions) { if (nextValue instanceof IBaseHasModifierExtensions) {
IBaseHasModifierExtensions element = (IBaseHasModifierExtensions) nextValue; IBaseHasModifierExtensions element = (IBaseHasModifierExtensions) nextValue;
List<? extends IBaseExtension<?, ?>> ext = element.getModifierExtension(); List<? extends IBaseExtension<?, ?>> ext = element.getModifierExtension();
force |= addToHeldExtensions(valueIdx, ext, extensions, true, nextChildElem, theParent, theEncodeContext, theContainedResource, theElement); force |= addToHeldExtensions(valueIdx, ext, modifierExtensions, true, nextChildElem, theParent, theEncodeContext, theContainedResource, theElement);
} }
} }
if (nextValue.hasFormatComment()) { if (nextValue.hasFormatComment()) {