From: Pawel Andruszkiewicz Date: Mon, 5 Oct 2015 13:21:38 +0000 (+0200) Subject: [Messaging] TODO removed, proper comment added. X-Git-Tag: submit/tizen/20151026.073646^2^2~66 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0cf83e88ca19f70289414056a7ca896b6b6bbbb;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [Messaging] TODO removed, proper comment added. [Verification] Code compiles, logic was not altered. Change-Id: I15290b14a93dae7e821813f0fec053000fff632e Signed-off-by: Pawel Andruszkiewicz --- diff --git a/src/messaging/MsgCommon/Any.cpp b/src/messaging/MsgCommon/Any.cpp index f70392da..0bd89480 100755 --- a/src/messaging/MsgCommon/Any.cpp +++ b/src/messaging/MsgCommon/Any.cpp @@ -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(); +bool Any::isNullOrUndefined() const { + // JSON data format is only holding non-undefined values + return m_value.is(); } bool Any::toBool() const