]> git.ktnx.net Git - mobile-ledger-staging.git/blobdiff - app/src/main/java/net/ktnx/mobileledger/json/v1_15/ParsedPrice.java
remove references to style members from the parser classes
[mobile-ledger-staging.git] / app / src / main / java / net / ktnx / mobileledger / json / v1_15 / ParsedPrice.java
index 409ed8b259ceb94851caf4f978a3000235ee3fb5..d3691d66f7d9b94dacb419268249e1912279f26a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright © 2019 Damyan Ivanov.
+ * Copyright © 2020 Damyan Ivanov.
  * This file is part of MoLe.
  * MoLe is free software: you can distribute it and/or modify it
  * under the term of the GNU General Public License as published by
@@ -35,12 +35,11 @@ class ParsedPrice {
     public void setTag(String tag) {
         this.tag = tag;
     }
-    private class Contents {
+    private static class Contents {
         private ParsedPrice aprice;
         private ParsedQuantity aquantity;
         private String acommodity;
         private boolean aismultiplier;
-        private ParsedStyle astyle;
         public Contents() {
             acommodity = "";
         }
@@ -68,11 +67,5 @@ class ParsedPrice {
         public void setAismultiplier(boolean aismultiplier) {
             this.aismultiplier = aismultiplier;
         }
-        public ParsedStyle getAstyle() {
-            return astyle;
-        }
-        public void setAstyle(ParsedStyle astyle) {
-            this.astyle = astyle;
-        }
     }
 }