diff --git a/src/seedu/addressbook/commands/ClearCommand.java b/src/seedu/addressbook/commands/ClearCommand.java index b09706013..330146aaa 100644 --- a/src/seedu/addressbook/commands/ClearCommand.java +++ b/src/seedu/addressbook/commands/ClearCommand.java @@ -11,9 +11,6 @@ public class ClearCommand extends Command { public static final String MESSAGE_SUCCESS = "Address book has been cleared!"; - public ClearCommand() {} - - @Override public CommandResult execute() { addressBook.clear(); diff --git a/src/seedu/addressbook/commands/HelpCommand.java b/src/seedu/addressbook/commands/HelpCommand.java index 82530440c..ef2ed7d0e 100644 --- a/src/seedu/addressbook/commands/HelpCommand.java +++ b/src/seedu/addressbook/commands/HelpCommand.java @@ -21,8 +21,6 @@ public class HelpCommand extends Command { + "\n" + HelpCommand.MESSAGE_USAGE + "\n" + ExitCommand.MESSAGE_USAGE; - public HelpCommand() {} - @Override public CommandResult execute() { return new CommandResult(MESSAGE_ALL_USAGES); diff --git a/src/seedu/addressbook/parser/Parser.java b/src/seedu/addressbook/parser/Parser.java index 3a8305f28..58f4f7e6c 100644 --- a/src/seedu/addressbook/parser/Parser.java +++ b/src/seedu/addressbook/parser/Parser.java @@ -41,8 +41,6 @@ public static class ParseException extends Exception { */ public static final Pattern BASIC_COMMAND_FORMAT = Pattern.compile("(?\\S+)(?.*)"); - public Parser() {} - /** * Parses user input into command for execution. * diff --git a/src/seedu/addressbook/storage/jaxb/AdaptedAddressBook.java b/src/seedu/addressbook/storage/jaxb/AdaptedAddressBook.java index 1201d7a36..550f5cd56 100644 --- a/src/seedu/addressbook/storage/jaxb/AdaptedAddressBook.java +++ b/src/seedu/addressbook/storage/jaxb/AdaptedAddressBook.java @@ -24,11 +24,6 @@ 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 73c0a6ef6..747f5853e 100644 --- a/src/seedu/addressbook/storage/jaxb/AdaptedPerson.java +++ b/src/seedu/addressbook/storage/jaxb/AdaptedPerson.java @@ -36,12 +36,6 @@ 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 cd5286a36..e13c0c097 100644 --- a/src/seedu/addressbook/storage/jaxb/AdaptedTag.java +++ b/src/seedu/addressbook/storage/jaxb/AdaptedTag.java @@ -14,11 +14,6 @@ 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. *