Index: modules/analysis/smartcn/src/java/org/apache/lucene/analysis/cn/smart/hhmm/SegGraph.java =================================================================== --- modules/analysis/smartcn/src/java/org/apache/lucene/analysis/cn/smart/hhmm/SegGraph.java (revision 1091980) +++ modules/analysis/smartcn/src/java/org/apache/lucene/analysis/cn/smart/hhmm/SegGraph.java (working copy) @@ -75,7 +75,7 @@ List result = new ArrayList(); int s = -1, count = 0, size = tokenListTable.size(); List tokenList; - short index = 0; + int index = 0; while (count < size) { if (isStartExist(s)) { tokenList = tokenListTable.get(s);