diff options
author | 2014-08-26 16:59:21 +0900 | |
---|---|---|
committer | 2014-08-27 20:28:48 +0900 | |
commit | 733a023b64a9ec7f2cbdb336b4c2e493ddc0e116 (patch) | |
tree | 8a0493995259bd027476da106c92d9bbf9670cd4 /native/jni/src | |
parent | 6ae4d79d81aa7aea5529d95bb3eb960a273ef411 (diff) | |
download | latinime-733a023b64a9ec7f2cbdb336b4c2e493ddc0e116.tar.gz latinime-733a023b64a9ec7f2cbdb336b4c2e493ddc0e116.tar.xz latinime-733a023b64a9ec7f2cbdb336b4c2e493ddc0e116.zip |
Remove redundant code.
Change-Id: I173eac15dc128e84893881ec4ee0ad1ad2fce44b
Diffstat (limited to 'native/jni/src')
-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 */); |