]> git.ktnx.net Git - mobile-ledger.git/commitdiff
position becomes plain long (not Long)
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 8 Feb 2021 05:51:54 +0000 (05:51 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 18 Feb 2021 07:35:00 +0000 (07:35 +0000)
app/src/main/java/net/ktnx/mobileledger/model/TemplateDetailsItem.java

index 03451c90e8da318f538b8324afca74888526d1dd..84e83d54a314a10275554b9322fd08ebceee4914 100644 (file)
@@ -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);