v0.2.47..v0.2.48 changeset AddExportTagsVisitor.cpp
Garret Voltz edited this page Sep 27, 2019
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/visitors/AddExportTagsVisitor.cpp b/hoot-core/src/main/cpp/hoot/core/visitors/AddExportTagsVisitor.cpp
index 0cd4dee..6842e6e 100644
--- a/hoot-core/src/main/cpp/hoot/core/visitors/AddExportTagsVisitor.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/visitors/AddExportTagsVisitor.cpp
@@ -51,7 +51,7 @@ void AddExportTagsVisitor::visit(const ElementPtr& pElement)
bool hasStatus = tags.find(MetadataTags::HootStatus()) != tags.end();
bool hasMappingTags = tags.getNonDebugCount() > 0;
- // todo in 3076 branch:
+ // TODO: in 3076 branch:
// - decide on universal status include rules:
// - as discussed, we are considering these options:
// - removal of TextStatus config altogether
@@ -87,7 +87,7 @@ void AddExportTagsVisitor::visit(const ElementPtr& pElement)
// HootStatus
if (addStatus)
{
- tags[MetadataTags::HootStatus()] = _textStatus ? status.toTextStatus() : toCompatString( status );
+ tags[MetadataTags::HootStatus()] = _textStatus ? status.toTextStatus() : toCompatString(status);
}
// HootId
@@ -106,12 +106,12 @@ void AddExportTagsVisitor::visit(const ElementPtr& pElement)
void AddExportTagsVisitor::overrideDebugSettings()
{
_includeIds = true;
- _textStatus = true;
+ _textStatus = false;
_includeCircularError= true;
_includeDebug = true;
}
-QString AddExportTagsVisitor::toCompatString( Status status ) const
+QString AddExportTagsVisitor::toCompatString(Status status) const
{
if (status.getEnum() <= Status::EnumEnd)
{