Apache Lucene open-source search software
LUCENE-8895: deprecate the other util.fst.Util.getByOutput override, too
Michael Sokolov8bf5e8be64f5
diff --git a/lucene/core/src/java/org/apache/lucene/util/fst/Util.java b/lucene/core/src/java/org/apache/lucene/util/fst/Util.javaindex 9083a3d0c23..d435bcfdd77 100644--- a/lucene/core/src/java/org/apache/lucene/util/fst/Util.java+++ b/lucene/core/src/java/org/apache/lucene/util/fst/Util.java@@ -123,6 +123,7 @@ public final class Util {* Expert: like {@link Util#getByOutput(FST, long)} except reusing* BytesReader, initial and scratch Arc, and result.*/+ @Deprecatedpublic static IntsRef getByOutput(FST<Long> fst, long targetOutput, BytesReader in, Arc<Long> arc, Arc<Long> scratchArc, IntsRefBuilder result) throws IOException {long output = arc.output;int upto = 0;