From: Damyan Ivanov Date: Mon, 8 Feb 2021 05:51:54 +0000 (+0000) Subject: position becomes plain long (not Long) X-Git-Tag: v0.17.0~102 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=7976a12a55de234c277d593467b94395422fbc30;p=mobile-ledger.git position becomes plain long (not Long) --- 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 03451c90..84e83d54 100644 --- a/app/src/main/java/net/ktnx/mobileledger/model/TemplateDetailsItem.java +++ b/app/src/main/java/net/ktnx/mobileledger/model/TemplateDetailsItem.java @@ -47,7 +47,7 @@ import java.util.regex.PatternSyntaxException; abstract public class TemplateDetailsItem { private final Type type; protected Long id; - protected Long position; + protected long position; protected TemplateDetailsItem(Type type) { this.type = type; @@ -174,7 +174,7 @@ abstract public class TemplateDetailsItem { public long getPosition() { return position; } - public void setPosition(Long position) { + public void setPosition(long position) { this.position = position; } abstract public String getProblem(@NonNull Resources r, int patternGroupCount);