From a1e9e3922f1cc7093019d93579b5801d7779b663 Mon Sep 17 00:00:00 2001 From: Ken Wakasa Date: Tue, 14 Dec 2010 13:05:08 +0900 Subject: [PATCH] Allow a single letter dic entry Redo of Id46b4490 which has been abandoned bug: 3193883 Change-Id: I95b16b1a4f190482098f40d8e29717ea28fdec1e --- .../src/com/android/tools/dict/MakeBinaryDictionary.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 tools/makedict/src/com/android/tools/dict/MakeBinaryDictionary.java diff --git a/tools/makedict/src/com/android/tools/dict/MakeBinaryDictionary.java b/tools/makedict/src/com/android/tools/dict/MakeBinaryDictionary.java old mode 100755 new mode 100644 index ca6de56e1..51e203849 --- a/tools/makedict/src/com/android/tools/dict/MakeBinaryDictionary.java +++ b/tools/makedict/src/com/android/tools/dict/MakeBinaryDictionary.java @@ -163,7 +163,7 @@ public class MakeBinaryDictionary { public void endElement(String uri, String localName, String qName) { if (qName.equals("w")) { - if (wordBuilder.length() > 1) { + if (wordBuilder.length() >= 1) { addWordTop(wordBuilder.toString(), freq); mWordCount++; }