From 57cb64f8bd44808ded0e40ba63bb963350d2c52c Mon Sep 17 00:00:00 2001 From: Aleksandras Kostarevas Date: Tue, 30 Apr 2024 13:58:46 -0400 Subject: [PATCH] Remove some logging --- java/src/org/futo/inputmethod/latin/inputlogic/InputLogic.java | 2 -- native/jni/org_futo_inputmethod_latin_xlm_LanguageModel.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/java/src/org/futo/inputmethod/latin/inputlogic/InputLogic.java b/java/src/org/futo/inputmethod/latin/inputlogic/InputLogic.java index 5dc9a48e1..c3416765e 100644 --- a/java/src/org/futo/inputmethod/latin/inputlogic/InputLogic.java +++ b/java/src/org/futo/inputmethod/latin/inputlogic/InputLogic.java @@ -588,9 +588,7 @@ public final class InputLogic { */ private int mAutoCommitSequenceNumber = 1; public void onUpdateBatchInput(final InputPointers batchPointers) { - Log.d(TAG, "InputLogic has received batch input update, now we call for " + mInputLogicHandler.toString()); mInputLogicHandler.onUpdateBatchInput(batchPointers, mAutoCommitSequenceNumber); - Log.d(TAG, "Finished calling onUpddateBatchInput"); } public void onEndBatchInput(final InputPointers batchPointers) { diff --git a/native/jni/org_futo_inputmethod_latin_xlm_LanguageModel.cpp b/native/jni/org_futo_inputmethod_latin_xlm_LanguageModel.cpp index e1a20e9b4..0132d332c 100644 --- a/native/jni/org_futo_inputmethod_latin_xlm_LanguageModel.cpp +++ b/native/jni/org_futo_inputmethod_latin_xlm_LanguageModel.cpp @@ -70,7 +70,7 @@ typedef std::pair potential_sequence; typedef struct banned_sequence { token_sequence sequence; int hash; -}; banned_sequence; +} banned_sequence; int compute_sequence_hash(const token_sequence &seq) { int hash = 0;