[IOT-2745] Static Analysis fix. 21/22821/2
authorJay Sharma <jay.sharma@samsung.com>
Fri, 13 Oct 2017 12:01:28 +0000 (17:31 +0530)
committerAshok Babu Channa <ashok.channa@samsung.com>
Mon, 16 Oct 2017 18:28:39 +0000 (18:28 +0000)
commita8920349797ae93b007a79a12fbe87187706d6a1
treefaddf62bba07c1b5b20056289b5d83cee2143209
parent82020f46f23d7e55d89f77c45d75bf4768676252
[IOT-2745] Static Analysis fix.

Java static analysis fix for resource-encapsulation:.
1. Updated exception handling for logging.
2. Updated sample applications and unit test cases.

Bug: https://jira.iotivity.org/browse/IOT-2745
Change-Id: I1aeb1b8b2b3338515cbc9733ef8fa032fd6f068e
Signed-off-by: Jay Sharma <jay.sharma@samsung.com>
service/resource-encapsulation/android/service/src/androidTest/java/org/iotivity/service/RemoteResourceObjectTest.java
service/resource-encapsulation/android/service/src/androidTest/java/org/iotivity/service/ResourceObjectTest.java
service/resource-encapsulation/android/service/src/androidTest/java/org/iotivity/service/TestBase.java
service/resource-encapsulation/android/service/src/main/java/org/iotivity/service/RcsValue.java
service/resource-encapsulation/examples/android/RESampleClientApp/app/src/main/java/org/iotivity/service/sample/client/MainActivity.java
service/resource-encapsulation/examples/android/RESampleServerApp/app/src/main/java/org/iotivity/service/sample/server/MainActivity.java