From: Damyan Ivanov Date: Sat, 13 Feb 2021 21:37:55 +0000 (+0200) Subject: drop unused variable X-Git-Tag: v0.17.0~124 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=ecad510202857eb3115de5e575165e61a9f91481;p=mobile-ledger.git drop unused variable --- diff --git a/app/src/main/java/net/ktnx/mobileledger/model/TemplateDetailsItem.java b/app/src/main/java/net/ktnx/mobileledger/model/TemplateDetailsItem.java index 822f7438..7dfed898 100644 --- a/app/src/main/java/net/ktnx/mobileledger/model/TemplateDetailsItem.java +++ b/app/src/main/java/net/ktnx/mobileledger/model/TemplateDetailsItem.java @@ -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 notMatched = new ArrayList<>(); if (m.start() > 0) ss.setSpan(notMatchedSpan(), 0, m.start(), Spanned.SPAN_INCLUSIVE_INCLUSIVE);