Codebase list mozc / 0968589
Remove a noisy LOG(ERROR) Empty keys are valid input when zero query suggestion is triggered. So LOG(ERROR) is inappropriate. BUG= TEST= REF_BUG=18131801 REF_CL=106019261 Noriyuki Takahashi 8 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
00 MAJOR=2
11 MINOR=17
2 BUILD=2361
2 BUILD=2362
33 REVISION=102
44 # NACL_DICTIONARY_VERSION is the target version of the system dictionary to be
55 # downloaded by NaCl Mozc.
166166 for (size_t i = 0; i < segments->conversion_segments_size(); ++i) {
167167 const string &key = segments->conversion_segment(i).key();
168168 if (key.empty()) {
169 LOG(ERROR) << "Key is empty";
169 // This case happens for zero query suggestion.
170170 continue;
171171 }
172172 bool is_no_learning = false;