Remove redundant code.

Change-Id: I173eac15dc128e84893881ec4ee0ad1ad2fce44b
main
Keisuke Kuroyanagi 2014-08-26 16:59:21 +09:00
parent 6ae4d79d81
commit 733a023b64
1 changed files with 0 additions and 2 deletions

View File

@ -65,8 +65,6 @@ void WordProperty::outputProperties(JNIEnv *const env, jintArray outCodePoints,
for (const auto &shortcut : mUnigramProperty.getShortcuts()) { for (const auto &shortcut : mUnigramProperty.getShortcuts()) {
const std::vector<int> *const targetCodePoints = shortcut.getTargetCodePoints(); const std::vector<int> *const targetCodePoints = shortcut.getTargetCodePoints();
jintArray shortcutTargetCodePointArray = env->NewIntArray(targetCodePoints->size()); jintArray shortcutTargetCodePointArray = env->NewIntArray(targetCodePoints->size());
env->SetIntArrayRegion(shortcutTargetCodePointArray, 0 /* start */,
targetCodePoints->size(), targetCodePoints->data());
JniDataUtils::outputCodePoints(env, shortcutTargetCodePointArray, 0 /* start */, JniDataUtils::outputCodePoints(env, shortcutTargetCodePointArray, 0 /* start */,
targetCodePoints->size(), targetCodePoints->data(), targetCodePoints->size(), targetCodePoints->size(), targetCodePoints->data(), targetCodePoints->size(),
false /* needsNullTermination */); false /* needsNullTermination */);