Commit 190fe47b authored by Jihun Ha's avatar Jihun Ha Committed by Uze Choi

Fix wrong comparison statement in Easy setup.

mRemoteEnrollee can not be converted to boolean. Thus, it should
be changed to null checking statement.

Change-Id: Iec38fa2995fbc70b97e37e7b9318a19a82f0c2fb
Signed-off-by: default avatarJihun Ha <jihun.ha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/11157Reviewed-by: default avatarJaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: default avatarMadan Lanka <lanka.madan@samsung.com>
Tested-by: default avatarjenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: default avatarUze Choi <uzchoi@samsung.com>
parent 6090e7ba
......@@ -95,7 +95,7 @@ public class EasySetup {
{
mRemoteEnrollee = nativeCreateRemoteEnrollee(enrolleeResource);
if(mRemoteEnrollee)
if(mRemoteEnrollee != null)
{
mRemoteEnrolleeList.add(mRemoteEnrollee);
return mRemoteEnrollee;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment