Skip to content

Commit 5aeb607

Browse files
comment out assertion
1 parent 0a0950a commit 5aeb607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/worksap/nlp/lucene/sudachi/ja/SudachiSplitFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public final boolean incrementToken() throws IOException {
118118
}
119119

120120
private int correctOffset(int currectOff) {
121-
assert (0 <= currectOff && currectOff <= this.offsetMap.size());
121+
// assert (0 <= currectOff && currectOff <= this.offsetMap.size());
122122
return this.offsetMap.get(currectOff);
123123
}
124124

0 commit comments

Comments
 (0)