Skip to content

Commit

Permalink
Removed write-only object
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Kryukov <[email protected]>
  • Loading branch information
dk2k committed Aug 22, 2024
1 parent abb1041 commit f02fbb4
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ private static AnalyzeAction.Response analyze(AnalyzeAction.Request request, Ana
}

private static List<AnalyzeAction.AnalyzeToken> simpleAnalyze(AnalyzeAction.Request request, Analyzer analyzer, int maxTokenCount) {
TokenCounter tc = new TokenCounter(maxTokenCount);
List<AnalyzeAction.AnalyzeToken> tokens = new ArrayList<>();
int lastPosition = -1;
int lastOffset = 0;
Expand Down Expand Up @@ -294,7 +293,6 @@ private static List<AnalyzeAction.AnalyzeToken> simpleAnalyze(AnalyzeAction.Requ
null
)
);
tc.increment();
}
stream.end();
lastOffset += offset.endOffset();
Expand Down

0 comments on commit f02fbb4

Please sign in to comment.