Skip to content

Commit

Permalink
[nus-cs2103-AY1718S1#41] Remove empty constructors (nus-cs2103-AY1718…
Browse files Browse the repository at this point in the history
  • Loading branch information
jia1 authored and damithc committed Dec 8, 2016
1 parent a614039 commit 5e40f73
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 23 deletions.
3 changes: 0 additions & 3 deletions src/seedu/addressbook/commands/ClearCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 0 additions & 2 deletions src/seedu/addressbook/commands/HelpCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 0 additions & 2 deletions src/seedu/addressbook/parser/Parser.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ public static class ParseException extends Exception {
*/
public static final Pattern BASIC_COMMAND_FORMAT = Pattern.compile("(?<commandWord>\\S+)(?<arguments>.*)");

public Parser() {}

/**
* Parses user input into command for execution.
*
Expand Down
5 changes: 0 additions & 5 deletions src/seedu/addressbook/storage/jaxb/AdaptedAddressBook.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ public class AdaptedAddressBook {
@XmlElement
private List<AdaptedTag> tags = new ArrayList<>();

/**
* No-arg constructor for JAXB use.
*/
public AdaptedAddressBook() {}

/**
* Converts a given AddressBook into this class for JAXB use.
*
Expand Down
6 changes: 0 additions & 6 deletions src/seedu/addressbook/storage/jaxb/AdaptedPerson.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ private static class AdaptedContactDetail {
@XmlElement
private List<AdaptedTag> tagged = new ArrayList<>();

/**
* No-arg constructor for JAXB use.
*/
public AdaptedPerson() {}


/**
* Converts a given Person into this class for JAXB use.
*
Expand Down
5 changes: 0 additions & 5 deletions src/seedu/addressbook/storage/jaxb/AdaptedTag.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 5e40f73

Please sign in to comment.