mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-26 23:07:45 +00:00
SuggestUtils#analyze: assign success variable a value
This commit is contained in:
parent
a0e32e9dfe
commit
a13dbc12e2
@ -130,6 +130,7 @@ public final class SuggestUtils {
|
||||
numTokens++;
|
||||
}
|
||||
consumer.end();
|
||||
success = true;
|
||||
} finally {
|
||||
if (success) {
|
||||
stream.close();
|
||||
|
Loading…
x
Reference in New Issue
Block a user