]> git.ktnx.net Git - mobile-ledger.git/commitdiff
drop unused variable
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 13 Feb 2021 21:37:55 +0000 (23:37 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 18 Feb 2021 07:19:43 +0000 (07:19 +0000)
app/src/main/java/net/ktnx/mobileledger/model/TemplateDetailsItem.java

index 822f743880f52b2fcac77be209d490511d75b6e6..7dfed8989b5fb040974c58b0137b27a6bfe2ceb9 100644 (file)
@@ -37,7 +37,6 @@ import net.ktnx.mobileledger.utils.Misc;
 import org.jetbrains.annotations.Contract;
 import org.jetbrains.annotations.NotNull;
 
-import java.util.ArrayList;
 import java.util.Objects;
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;
@@ -655,7 +654,6 @@ abstract public class TemplateDetailsItem {
                         SpannableString ss = new SpannableString(testText);
                         Matcher m = compiledPattern.matcher(testText);
                         if (m.find()) {
-                            ArrayList<String> notMatched = new ArrayList<>();
                             if (m.start() > 0)
                                 ss.setSpan(notMatchedSpan(), 0, m.start(),
                                         Spanned.SPAN_INCLUSIVE_INCLUSIVE);