SuggestUtils#analyze: assign success variable a value

This commit is contained in:
javanna 2016-08-10 12:57:24 +02:00 committed by Luca Cavanna
parent a0e32e9dfe
commit a13dbc12e2
1 changed files with 1 additions and 0 deletions

View File

@ -130,6 +130,7 @@ public final class SuggestUtils {
numTokens++;
}
consumer.end();
success = true;
} finally {
if (success) {
stream.close();