Fix null pointer exception

+) Fix NPE
++) implement equals instead of ==

Issue-ID: PORTAL-680
Change-Id: I3a0df60b6171b114afc841b40838f6a4484370ee
Signed-off-by: arind.mondal <arind.mondal@samsung.com>
1 file changed