Removing irrelevant super call to preProcessValues

This commit is contained in:
ahn 2019-04-10 12:03:32 +02:00
parent 207015c3af
commit 3f15100a45
2 changed files with 3 additions and 3 deletions

View File

@ -378,7 +378,7 @@ public class JsonParser extends BaseParser implements IJsonLikeParser {
}
List<? extends IBase> values = nextChild.getAccessor().getValues(theElement);
values = super.preProcessValues(nextChild, theResource, values, nextChildElem, theEncodeContext);
values = preProcessValues(nextChild, theResource, values, nextChildElem, theEncodeContext);
if (values == null || values.isEmpty()) {
continue;
@ -1439,7 +1439,7 @@ public class JsonParser extends BaseParser implements IJsonLikeParser {
* Pre-process value - This is called in case the value is a reference
* since we might modify the text
*/
value = JsonParser.super.preProcessValues(myDef, theResource, Collections.singletonList(value), myChildElem, theEncodeContext).get(0);
value = preProcessValues(myDef, theResource, Collections.singletonList(value), myChildElem, theEncodeContext).get(0);
RuntimeChildUndeclaredExtensionDefinition extDef = myContext.getRuntimeChildUndeclaredExtensionDefinition();
String childName = extDef.getChildNameByDatatype(value.getClass());

View File

@ -374,7 +374,7 @@ public class XmlParser extends BaseParser /* implements IParser */ {
} else {
List<? extends IBase> values = nextChild.getAccessor().getValues(theElement);
values = super.preProcessValues(nextChild, theResource, values, nextChildElem, theEncodeContext);
values = preProcessValues(nextChild, theResource, values, nextChildElem, theEncodeContext);
if (values == null || values.isEmpty()) {
continue;