add assert

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432472 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2013-01-12 16:39:47 +00:00
parent d578775e8f
commit 60b19f2da9
1 changed files with 2 additions and 0 deletions

View File

@ -1619,7 +1619,9 @@ public final class FST<T> {
absPtr = 0;
}
assert flags != ARCS_AS_FIXED_ARRAY;
buffer.writeByte(flags);
fst.writeLabel(buffer, arc.label);
if (arc.output != NO_OUTPUT) {