mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-02 01:19:14 +00:00
add JsonObject.clear()
This commit is contained in:
parent
a605d944bc
commit
bfdb28b96e
@ -169,7 +169,6 @@ public class ProfilePathProcessor {
|
|||||||
debugProcessPathsIteration(cursors, currentBasePath);
|
debugProcessPathsIteration(cursors, currentBasePath);
|
||||||
List<ElementDefinition> diffMatches = profileUtilities.getDiffMatches(getDifferential(), currentBasePath, cursors.diffCursor, getDiffLimit(), getProfileName()); // get a list of matching elements in scope
|
List<ElementDefinition> diffMatches = profileUtilities.getDiffMatches(getDifferential(), currentBasePath, cursors.diffCursor, getDiffLimit(), getProfileName()); // get a list of matching elements in scope
|
||||||
|
|
||||||
|
|
||||||
// in the simple case, source is not sliced.
|
// in the simple case, source is not sliced.
|
||||||
if (!currentBase.hasSlicing() || currentBasePath.equals(getSlicing().getPath()))
|
if (!currentBase.hasSlicing() || currentBasePath.equals(getSlicing().getPath()))
|
||||||
{
|
{
|
||||||
|
@ -389,5 +389,9 @@ public class JsonObject extends JsonElement {
|
|||||||
this.extraComma = extraComma;
|
this.extraComma = extraComma;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void clear() {
|
||||||
|
properties.clear();
|
||||||
|
propMap.clear();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user