From ecad510202857eb3115de5e575165e61a9f91481 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sat, 13 Feb 2021 23:37:55 +0200 Subject: [PATCH] drop unused variable --- .../java/net/ktnx/mobileledger/model/TemplateDetailsItem.java | 2 -- 1 file changed, 2 deletions(-) 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); -- 2.39.5