-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.49..v0.2.50 changeset RemoveElementsVisitor.cpp
Garret Voltz edited this page Nov 6, 2019
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/RemoveElementsVisitor.cpp b/hoot-core/src/main/cpp/hoot/core/visitors/RemoveElementsVisitor.cpp
index 6ec6c3e..6ab3cc5 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/RemoveElementsVisitor.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/RemoveElementsVisitor.cpp
@@ -53,6 +53,9 @@ void RemoveElementsVisitor::setConfiguration(const Settings& conf)
{
ConfigOptions configOptions(conf);
+ // TODO: need to separate element.criterion.negate out in to separate options for each consumer
+ // of it; otherwise we may end up with conflicts with certain combinations of config option inputs
+ // to certain command invocations
_negateCriteria = configOptions.getElementCriterionNegate();
_chainCriteria = configOptions.getRemoveElementsVisitorChainElementCriteria();
LOG_VARD(_chainCriteria);