From bbb36039b9884333358bf53911ab5cf398c03250 Mon Sep 17 00:00:00 2001 From: simpsus Date: Wed, 26 Jun 2013 21:02:06 +0200 Subject: [PATCH] No-arg constructor for investment plan --- .../src/name/abuchen/portfolio/model/InvestmentPlan.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/name.abuchen.portfolio/src/name/abuchen/portfolio/model/InvestmentPlan.java b/name.abuchen.portfolio/src/name/abuchen/portfolio/model/InvestmentPlan.java index eab426d48f..7d5b8ec048 100644 --- a/name.abuchen.portfolio/src/name/abuchen/portfolio/model/InvestmentPlan.java +++ b/name.abuchen.portfolio/src/name/abuchen/portfolio/model/InvestmentPlan.java @@ -21,6 +21,11 @@ public class InvestmentPlan private List transactions = new ArrayList(); + public InvestmentPlan() + { + // needed for xstream de-serialization + } + public InvestmentPlan(String name) { this.name = name;