[Messaging] TODO removed, proper comment added.
authorPawel Andruszkiewicz <p.andruszkie@samsung.com>
Mon, 5 Oct 2015 13:21:38 +0000 (15:21 +0200)
committerPawel Andruszkiewicz <p.andruszkie@samsung.com>
Mon, 5 Oct 2015 13:23:55 +0000 (15:23 +0200)
[Verification] Code compiles, logic was not altered.

Change-Id: I15290b14a93dae7e821813f0fec053000fff632e
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
src/messaging/MsgCommon/Any.cpp

index f70392da7cf903c6c3dc1577be9686e05e9fc2e2..0bd894805d6eaaba7a0d2a56e2d83238062bd9ba 100755 (executable)
@@ -51,10 +51,9 @@ void Any::setValue(picojson::value value)
 //    JSValueProtect(m_context, m_value);
 }
 
-bool Any::isNullOrUndefined() const
-{
-    //TODO is it check for undefined?
-    return m_value.is<picojson::null>();
+bool Any::isNullOrUndefined() const {
+  // JSON data format is only holding non-undefined values
+  return m_value.is<picojson::null>();
 }
 
 bool Any::toBool() const