diff --git a/src/seedu/addressbook/storage/jaxb/AdaptedAddressBook.java b/src/seedu/addressbook/storage/jaxb/AdaptedAddressBook.java index 550f5cd56..1201d7a36 100644 --- a/src/seedu/addressbook/storage/jaxb/AdaptedAddressBook.java +++ b/src/seedu/addressbook/storage/jaxb/AdaptedAddressBook.java @@ -24,6 +24,11 @@ public class AdaptedAddressBook { @XmlElement private List tags = new ArrayList<>(); + /** + * No-arg constructor for JAXB use. + */ + public AdaptedAddressBook() {} + /** * Converts a given AddressBook into this class for JAXB use. * diff --git a/src/seedu/addressbook/storage/jaxb/AdaptedPerson.java b/src/seedu/addressbook/storage/jaxb/AdaptedPerson.java index 747f5853e..73c0a6ef6 100644 --- a/src/seedu/addressbook/storage/jaxb/AdaptedPerson.java +++ b/src/seedu/addressbook/storage/jaxb/AdaptedPerson.java @@ -36,6 +36,12 @@ private static class AdaptedContactDetail { @XmlElement private List tagged = new ArrayList<>(); + /** + * No-arg constructor for JAXB use. + */ + public AdaptedPerson() {} + + /** * Converts a given Person into this class for JAXB use. * diff --git a/src/seedu/addressbook/storage/jaxb/AdaptedTag.java b/src/seedu/addressbook/storage/jaxb/AdaptedTag.java index e13c0c097..cd5286a36 100644 --- a/src/seedu/addressbook/storage/jaxb/AdaptedTag.java +++ b/src/seedu/addressbook/storage/jaxb/AdaptedTag.java @@ -14,6 +14,11 @@ public class AdaptedTag { @XmlValue public String tagName; + /** + * No-arg constructor for JAXB use. + */ + public AdaptedTag() {} + /** * Converts a given Tag into this class for JAXB use. *