v0.2.53..v0.2.54 changeset StringUtils.cpp
Garret Voltz edited this page Mar 31, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/util/StringUtils.cpp b/hoot-core/src/main/cpp/hoot/core/util/StringUtils.cpp
index 75058d2..59597e4 100644
--- a/hoot-core/src/main/cpp/hoot/core/util/StringUtils.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/util/StringUtils.cpp
@@ -195,8 +195,12 @@ void StringUtils::removeAll(QStringList& input, const QStringList& toRemove)
bool StringUtils::containsAny(const QStringList& input, const QStringList& toCompare)
{
+ LOG_VART(input);
+ LOG_VART(toCompare);
for (int i = 0; i < toCompare.size(); i++)
{
+ LOG_VART(toCompare.at(i));
+ LOG_VART(input.contains(toCompare.at(i)));
// may eventually want a case sensitivity option here
if (input.contains(toCompare.at(i)))
{