X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=android%2Fandroid_api%2Fbase%2Fjni%2FJniOcRepresentation.cpp;h=c1430693f50393ff97a7ee32d98985274a5aa0b1;hb=8c01dff2c5bc5496f7dc1632c498943ec6ecb015;hp=e2c2cd0f7b1576c231750eb98ef861211abc3638;hpb=935fdb9b67b6c10d007e652e9e2e028fd6ccfe09;p=platform%2Fupstream%2Fiotivity.git diff --git a/android/android_api/base/jni/JniOcRepresentation.cpp b/android/android_api/base/jni/JniOcRepresentation.cpp index e2c2cd0..c143069 100644 --- a/android/android_api/base/jni/JniOcRepresentation.cpp +++ b/android/android_api/base/jni/JniOcRepresentation.cpp @@ -722,22 +722,6 @@ JNIEXPORT void JNICALL Java_org_iotivity_base_OcRepresentation_setValueRepresent /* * Class: org_iotivity_base_OcRepresentation -* Method: getJSONRepresentation -* Signature: ()Ljava/lang/String; -*/ -JNIEXPORT jstring JNICALL Java_org_iotivity_base_OcRepresentation_getJSONRepresentation -(JNIEnv *env, jobject thiz) -{ - LOGD("OcRepresentation_getJSONRepresentation"); - OCRepresentation *rep = JniOcRepresentation::getOCRepresentationPtr(env, thiz); - if (!rep) return nullptr; - - std::string jsonStr = rep->getJSONRepresentation(); - return env->NewStringUTF(jsonStr.c_str()); -} - -/* -* Class: org_iotivity_base_OcRepresentation * Method: addChild * Signature: (Lorg/iotivity/base/OcRepresentation;)V */ @@ -1037,4 +1021,4 @@ JNIEXPORT void JNICALL Java_org_iotivity_base_OcRepresentation_dispose { delete rep; } -} \ No newline at end of file +}