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:
parent
606a5d6ef1
commit
e7ca2905c8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user