File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
lucene/core/src/java/org/apache/lucene/util/fst Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ private FSTCompiler(
177177 }
178178
179179 // Get the respective FSTReader of the DataOutput. If the DataOutput is also a FSTReader then we
180- // will use it. Otherwise, we will use NullFSTReader, which does not allow reading .
180+ // will use it, otherwise we will return null .
181181 private FSTReader toFSTReader (DataOutput dataOutput ) {
182182 if (dataOutput instanceof FSTReader ) {
183183 return (FSTReader ) dataOutput ;
@@ -286,6 +286,7 @@ public Builder<T> directAddressingMaxOversizingFactor(float factor) {
286286
287287 /** Creates a new {@link FSTCompiler}. */
288288 public FSTCompiler <T > build () {
289+ // TODO: throw the IOException instead of catching it
289290 try {
290291 return new FSTCompiler <>(
291292 inputType ,
You can’t perform that action at this time.
0 commit comments