From 8bf5e8be64f5afbc4bd22675c9c36da0fd4b8ffd Mon Sep 17 00:00:00 2001 From: Michael Sokolov Date: Wed, 3 Jul 2019 21:33:33 -0400 Subject: [PATCH] LUCENE-8895: deprecate the other util.fst.Util.getByOutput override, too --- lucene/core/src/java/org/apache/lucene/util/fst/Util.java | 1 + 1 file changed, 1 insertion(+) 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.java index 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. */ + @Deprecated public static IntsRef getByOutput(FST fst, long targetOutput, BytesReader in, Arc arc, Arc scratchArc, IntsRefBuilder result) throws IOException { long output = arc.output; int upto = 0;