port fix for statements loader

This commit is contained in:
Jonathan Shook 2022-03-03 15:45:26 -06:00
parent 04d3031ec8
commit 05c7ba9138

View File

@ -44,7 +44,9 @@ public class StatementsLoader {
StmtsDocList layered = new StmtsDocList(rawDocList);
transformer.checkpointAccesses().forEach((k,v) -> {
layered.addTemplateVariable(k,v);
params.remove(k);
if (params.containsKey(k)) {
params.remove(k);
}
});
return layered;
}