Task: Do not identify tag and dependency attributes as orphans
This commit is contained in:
@@ -546,9 +546,11 @@ bool Task::is_udaPresent () const
|
|||||||
bool Task::is_orphanPresent () const
|
bool Task::is_orphanPresent () const
|
||||||
{
|
{
|
||||||
for (auto& att : data)
|
for (auto& att : data)
|
||||||
if (att.first.compare (0, 11, "annotation_", 11) != 0)
|
if (! isAnnotationAttr (att.first) &&
|
||||||
if (Context::getContext ().columns.find (att.first) == Context::getContext ().columns.end ())
|
! isTagAttr (att.first) &&
|
||||||
return true;
|
! isDepAttr (att.first) &&
|
||||||
|
Context::getContext ().columns.find (att.first) == Context::getContext ().columns.end ())
|
||||||
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user