Index: jni/Utils.cpp |
diff --git a/jni/Utils.cpp b/jni/Utils.cpp |
index 84e2b531c4d9708f04c293db439479e27520b994..4815a8eec5e9e09693358e058bbd924738fef745 100644 |
--- a/jni/Utils.cpp |
+++ b/jni/Utils.cpp |
@@ -18,26 +18,6 @@ |
#include <string> |
#include "Utils.h" |
-#include "Debug.h" |
- |
-const std::string GetString(JNIEnv *pEnv, jstring str) |
-{ |
- D(D_WARN, "getString()"); |
- |
- if (str == NULL) |
- return std::string(); |
- |
- jboolean iscopy; |
- |
- const char *s = pEnv->GetStringUTFChars(str, &iscopy); |
- jsize len = pEnv->GetStringUTFLength(str); |
- |
- const std::string value(s, len); |
- |
- pEnv->ReleaseStringUTFChars(str, s); |
- |
- return value; |
-} |
std::string JniJavaToStdString(JNIEnv* env, jstring str) |
{ |