diff options
author | 2014-08-27 12:36:38 +0000 | |
---|---|---|
committer | 2014-08-27 12:36:38 +0000 | |
commit | 4afcb18f51e39be135053eaaf0b6dd4d8f9d2636 (patch) | |
tree | 7d41486703ac6681681645a581b8282e71e757f7 | |
parent | d18753b151e9fdce07416f8d39d1c2d84a6d23f2 (diff) | |
parent | 733a023b64a9ec7f2cbdb336b4c2e493ddc0e116 (diff) | |
download | latinime-4afcb18f51e39be135053eaaf0b6dd4d8f9d2636.tar.gz latinime-4afcb18f51e39be135053eaaf0b6dd4d8f9d2636.tar.xz latinime-4afcb18f51e39be135053eaaf0b6dd4d8f9d2636.zip |
am 733a023b: Remove redundant code.
* commit '733a023b64a9ec7f2cbdb336b4c2e493ddc0e116':
Remove redundant code.
-rw-r--r-- | native/jni/src/suggest/core/dictionary/property/word_property.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/native/jni/src/suggest/core/dictionary/property/word_property.cpp b/native/jni/src/suggest/core/dictionary/property/word_property.cpp index 5bdd5606b..66daf3e3f 100644 --- a/native/jni/src/suggest/core/dictionary/property/word_property.cpp +++ b/native/jni/src/suggest/core/dictionary/property/word_property.cpp @@ -65,8 +65,6 @@ void WordProperty::outputProperties(JNIEnv *const env, jintArray outCodePoints, for (const auto &shortcut : mUnigramProperty.getShortcuts()) { const std::vector<int> *const targetCodePoints = shortcut.getTargetCodePoints(); jintArray shortcutTargetCodePointArray = env->NewIntArray(targetCodePoints->size()); - env->SetIntArrayRegion(shortcutTargetCodePointArray, 0 /* start */, - targetCodePoints->size(), targetCodePoints->data()); JniDataUtils::outputCodePoints(env, shortcutTargetCodePointArray, 0 /* start */, targetCodePoints->size(), targetCodePoints->data(), targetCodePoints->size(), false /* needsNullTermination */); |