Removing irrelevant super call to preProcessValues
This commit is contained in:
parent
207015c3af
commit
3f15100a45
|
@ -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());
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue