add JsonObject.clear()

This commit is contained in:
Grahame Grieve 2023-06-07 13:57:56 +02:00
parent a605d944bc
commit bfdb28b96e
2 changed files with 4 additions and 1 deletions

View File

@ -169,7 +169,6 @@ public class ProfilePathProcessor {
debugProcessPathsIteration(cursors, currentBasePath);
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.
if (!currentBase.hasSlicing() || currentBasePath.equals(getSlicing().getPath()))
{

View File

@ -389,5 +389,9 @@ public class JsonObject extends JsonElement {
this.extraComma = extraComma;
}
public void clear() {
properties.clear();
propMap.clear();
}
}