dungba88 commented on code in PR #12758:
URL: https://github.com/apache/lucene/pull/12758#discussion_r1383418076


##########
lucene/core/src/java/org/apache/lucene/util/fst/FST.java:
##########
@@ -1132,4 +1137,28 @@ public abstract static class BytesReader extends 
DataInput {
     /** Returns true if this reader uses reversed bytes under-the-hood. */
     public abstract boolean reversed();
   }
+
+  /**
+   * Represent the FST metadata
+   *
+   * @param <T> the FST output type
+   */
+  public static class FSTMetadata<T> {
+    INPUT_TYPE inputType;
+    // if non-null, this FST accepts the empty string and
+    // produces this output
+    T emptyOutput;

Review Comment:
   I changed the inputType & version to final, the rest cannot be final.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to