0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 03:52:15 +02:00

NF: correctly initialize mFailed

This commit is contained in:
Arthur Milchior 2021-05-27 18:07:32 +02:00 committed by Mike Hardy
parent 606a5d6ef1
commit e7ca2905c8

View File

@ -41,7 +41,7 @@ public class Tokenizer implements Iterator<Tokenizer.Token> {
/**
* Become true if lexing failed. That is, the string start with {{, but no }} is found.
*/
private @Nullable boolean mFailed;
private boolean mFailed = false;
Tokenizer(@NonNull String template) {
mTemplate = template;