From e28927dfb6309bc85f16ef2e01d3e838bb5b4020 Mon Sep 17 00:00:00 2001 From: Keisuke Kuroyanagi Date: Wed, 18 Sep 2013 18:27:01 +0900 Subject: [PATCH] Change name of header_reading_utlis.* Bug: 6669677 Change-Id: I91389050148237580ef640d3a58b935ea752954e --- native/jni/Android.mk | 2 +- .../suggest/policyimpl/dictionary/header/header_policy.h | 2 +- ...eader_reading_utils.cpp => header_read_write_utils.cpp} | 2 +- .../{header_reading_utils.h => header_read_write_utils.h} | 7 +++---- 4 files changed, 6 insertions(+), 7 deletions(-) rename native/jni/src/suggest/policyimpl/dictionary/header/{header_reading_utils.cpp => header_read_write_utils.cpp} (98%) rename native/jni/src/suggest/policyimpl/dictionary/header/{header_reading_utils.h => header_read_write_utils.h} (94%) diff --git a/native/jni/Android.mk b/native/jni/Android.mk index d83bdadfa..ee93b4248 100644 --- a/native/jni/Android.mk +++ b/native/jni/Android.mk @@ -70,7 +70,7 @@ LATIN_IME_CORE_SRC_FILES := \ bigram/bigram_list_read_write_utils.cpp \ bigram/dynamic_bigram_list_policy.cpp \ header/header_policy.cpp \ - header/header_reading_utils.cpp \ + header/header_read_write_utils.cpp \ shortcut/shortcut_list_reading_utils.cpp \ dictionary_structure_with_buffer_policy_factory.cpp \ dynamic_patricia_trie_node_reader.cpp \ diff --git a/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h b/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h index cdad7de4d..6b396f3f2 100644 --- a/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h +++ b/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h @@ -22,7 +22,7 @@ #include "defines.h" #include "suggest/core/policy/dictionary_header_structure_policy.h" -#include "suggest/policyimpl/dictionary/header/header_reading_utils.h" +#include "suggest/policyimpl/dictionary/header/header_read_write_utils.h" #include "suggest/policyimpl/dictionary/utils/format_utils.h" namespace latinime { diff --git a/native/jni/src/suggest/policyimpl/dictionary/header/header_reading_utils.cpp b/native/jni/src/suggest/policyimpl/dictionary/header/header_read_write_utils.cpp similarity index 98% rename from native/jni/src/suggest/policyimpl/dictionary/header/header_reading_utils.cpp rename to native/jni/src/suggest/policyimpl/dictionary/header/header_read_write_utils.cpp index 705355db3..80fe88671 100644 --- a/native/jni/src/suggest/policyimpl/dictionary/header/header_reading_utils.cpp +++ b/native/jni/src/suggest/policyimpl/dictionary/header/header_read_write_utils.cpp @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "suggest/policyimpl/dictionary/header/header_reading_utils.h" +#include "suggest/policyimpl/dictionary/header/header_read_write_utils.h" #include diff --git a/native/jni/src/suggest/policyimpl/dictionary/header/header_reading_utils.h b/native/jni/src/suggest/policyimpl/dictionary/header/header_read_write_utils.h similarity index 94% rename from native/jni/src/suggest/policyimpl/dictionary/header/header_reading_utils.h rename to native/jni/src/suggest/policyimpl/dictionary/header/header_read_write_utils.h index 4b4e2205a..6cce73375 100644 --- a/native/jni/src/suggest/policyimpl/dictionary/header/header_reading_utils.h +++ b/native/jni/src/suggest/policyimpl/dictionary/header/header_read_write_utils.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef LATINIME_HEADER_READING_UTILS_H -#define LATINIME_HEADER_READING_UTILS_H +#ifndef LATINIME_HEADER_READ_WRITE_UTILS_H +#define LATINIME_HEADER_READ_WRITE_UTILS_H #include #include @@ -28,7 +28,6 @@ namespace latinime { class BufferWithExtendableBuffer; -// TODO: Change this file name to header_read_write_utils.h. class HeaderReadWriteUtils { public: typedef uint16_t DictionaryFlags; @@ -91,4 +90,4 @@ class HeaderReadWriteUtils { static const DictionaryFlags CONTAINS_BIGRAMS_FLAG; }; } -#endif /* LATINIME_HEADER_READING_UTILS_H */ +#endif /* LATINIME_HEADER_READ_WRITE_UTILS_H */