diff --git a/hoot-core/src/main/cpp/hoot/core/elements/Way.cpp b/hoot-core/src/main/cpp/hoot/core/elements/Way.cpp
index 95b254c..4616863 100644
--- a/hoot-core/src/main/cpp/hoot/core/elements/Way.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/elements/Way.cpp
@@ -294,6 +294,11 @@ bool Way::isOneWay() const
bool Way::isSimpleLoop() const
{
+ if (getNodeCount() < 2)
+ {
+ return false;
+ }
+
return (getFirstNodeId() == getLastNodeId());
}
@@ -452,16 +457,6 @@ QString Way::toString() const
return QString::fromStdString(ss.str());
}
-bool Way::isFirstLastNodeIdentical() const
-{
- if (getNodeCount() < 2)
- {
- return false;
- }
-
- return (getFirstNodeId() == getLastNodeId());
-}
-
bool Way::isClosedArea() const
{
return getNodeCount() > 3 && getFirstNodeId() == getLastNodeId();