Skip to content

Commit

Permalink
Merge pull request #563 from zhonghan721/update-author-tag
Browse files Browse the repository at this point in the history
Update author tag to remove curly braces
  • Loading branch information
juliusgambe authored Dec 2, 2023
2 parents 9237b8c + f5a6457 commit 2172062
Show file tree
Hide file tree
Showing 24 changed files with 52 additions and 50 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {zhonghan721}
//@@author zhonghan721
package seedu.address.logic.commands.customer;

import static java.util.Objects.requireNonNull;
Expand Down Expand Up @@ -100,4 +100,4 @@ public String toString() {
.toString();
}
}
//@@author {zhonghan721}
//@@author zhonghan721
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {jianyangg}
//@@author jianyangg
package seedu.address.logic.commands.customer;

import static java.util.Objects.requireNonNull;
Expand Down Expand Up @@ -127,4 +127,4 @@ public String toString() {
.toString();
}
}
//@@author {jianyangg}
//@@author jianyangg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {Gabriel4357}
//@@author Gabriel4357
package seedu.address.logic.commands.customer;

import static java.util.Objects.requireNonNull;
Expand Down Expand Up @@ -181,7 +181,7 @@ protected static void updateDelivery(Model model, Customer editedCustomer) {
}


//@@author {zhonghan721}
//@@author zhonghan721

/**
* Creates and returns a {@code Delivery} with the customer details edited.
Expand Down Expand Up @@ -210,7 +210,8 @@ private static Delivery createEditedDelivery(Delivery deliveryToEdit, Customer e
return new Delivery(deliveryToEdit.getDeliveryId(), deliveryName, editedCustomer, orderDate,
deliveryDate, deliveryStatus, note);
}
//@@author {zhonghan721}
//@@author zhonghan721
//@@author Gabriel4357

@Override
public boolean equals(Object other) {
Expand Down Expand Up @@ -339,4 +340,4 @@ public String toString() {
}
}
}
//@@author {Gabriel4357}
//@@author Gabriel4357
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {zhonghan721}
//@@author zhonghan721
package seedu.address.logic.commands.customer;

import static java.util.Objects.requireNonNull;
Expand Down Expand Up @@ -76,4 +76,4 @@ public String toString() {
.toString();
}
}
//@@author {zhonghan721}
//@@author zhonghan721
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//@@author B-enguin
package seedu.address.logic.commands.customer;

import static java.util.Objects.requireNonNull;
Expand Down Expand Up @@ -40,4 +41,4 @@ public CommandResult execute(Model model) throws CommandException {
return new CommandResult(MESSAGE_SUCCESS, true);
}
}
//@@author {B-enguin}
//@@author B-enguin
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {B-enguin}
//@@author B-enguin
package seedu.address.logic.commands.customer;

import static java.util.Objects.requireNonNull;
Expand Down Expand Up @@ -69,4 +69,4 @@ public boolean equals(Object other) {
&& customerId == ((CustomerViewCommand) other).customerId); // state check
}
}
//@@author {B-enguin}
//@@author B-enguin
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {Gabriel4357}
//@@author Gabriel4357
package seedu.address.logic.commands.delivery;

import static java.util.Objects.requireNonNull;
Expand Down Expand Up @@ -241,4 +241,4 @@ public String toString() {
}
}
}
//@@author {Gabriel4357}
//@@author Gabriel4357
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {B-enguin}
//@@author B-enguin
package seedu.address.logic.commands.delivery;

import static java.util.Objects.requireNonNull;
Expand Down Expand Up @@ -136,4 +136,4 @@ public String toString() {
.toString();
}
}
//@@author {B-enguin}
//@@author B-enguin
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {Gabriel4357}
//@@author Gabriel4357
package seedu.address.logic.commands.delivery;

import static java.util.Objects.requireNonNull;
Expand Down Expand Up @@ -319,4 +319,4 @@ public String toString() {
}
}

//@@author {Gabriel4357}
//@@author Gabriel4357
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {B-enguin}
//@@author B-enguin
package seedu.address.logic.commands.delivery;

import static java.util.Objects.requireNonNull;
Expand Down Expand Up @@ -80,4 +80,4 @@ public String toString() {
.toString();
}
}
//@@author {B-enguin}
//@@author B-enguin
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {juliusgambe}
//@@author juliusgambe
package seedu.address.logic.commands.delivery;

import static java.util.Objects.requireNonNull;
Expand Down Expand Up @@ -171,4 +171,4 @@ public boolean equals(Object other) {
return sortType.equals(otherDeliveryListCommand.sortType);
}
}
//@@author {juliusgambe}
//@@author juliusgambe
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {B-enguin}
//@@author B-enguin
package seedu.address.logic.commands.delivery;

import static java.util.Objects.requireNonNull;
Expand Down Expand Up @@ -134,4 +134,4 @@ public String toString() {
.toString();
}
}
//@@author {B-enguin}
//@@author B-enguin
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {Gabriel4357}
//@@author Gabriel4357

package seedu.address.logic.parser.customer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {B-enguin}
//@@author B-enguin
package seedu.address.logic.parser.customer;

import static seedu.address.logic.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
Expand Down Expand Up @@ -57,4 +57,4 @@ public CustomerViewCommand parse(String args) throws ParseException {
}

}
//@@author {B-enguin}
//@@author B-enguin
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {Gabriel4357}
//@@author Gabriel4357
package seedu.address.logic.parser.delivery;


Expand Down Expand Up @@ -68,4 +68,4 @@ public DeliveryAddCommand parse(String args) throws ParseException {
return new DeliveryAddCommand(deliveryAddDescriptor);
}
}
//@@author {Gabriel4357}
//@@author Gabriel4357
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {B-enguin}
//@@author B-enguin
package seedu.address.logic.parser.delivery;

import static java.util.Objects.requireNonNull;
Expand Down Expand Up @@ -61,4 +61,4 @@ public DeliveryCreateNoteCommand parse(String args) throws ParseException {

}
}
//@@author {B-enguin}
//@@author B-enguin
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {Gabriel4357}
//@@author Gabriel4357
package seedu.address.logic.parser.delivery;

import static java.util.Objects.requireNonNull;
Expand Down Expand Up @@ -39,4 +39,4 @@ public DeliveryDeleteCommand parse(String args) throws ParseException {
}
}
}
//@@author {Gabriel4357}
//@@author Gabriel4357
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {Gabriel4357}
//@@author Gabriel4357
package seedu.address.logic.parser.delivery;

import static java.util.Objects.requireNonNull;
Expand Down Expand Up @@ -109,4 +109,4 @@ public DeliveryEditDescriptor createDeliveryEditDescriptor(ArgumentMultimap argM
return deliveryEditDescriptor;
}
}
//@@author {Gabriel4357}
//@@author Gabriel4357
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {B-enguin}
//@@author B-enguin
package seedu.address.logic.parser.delivery;

import static seedu.address.logic.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
Expand Down Expand Up @@ -41,4 +41,4 @@ public DeliveryFindCommand parse(String args) throws ParseException {
return new DeliveryFindCommand(new DeliveryNameContainsKeywordsPredicate(Arrays.asList(nameKeywords)));
}
}
//@@author {B-enguin}
//@@author B-enguin
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {juliusgambe}
//@@author juliusgambe
package seedu.address.logic.parser.delivery;

import static seedu.address.logic.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
Expand Down Expand Up @@ -104,4 +104,4 @@ public boolean equals(Object other) {

}
}
//@@author {juliusgambe}
//@@author juliusgambe
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {B-enguin}
//@@author B-enguin
package seedu.address.logic.parser.delivery;

import static seedu.address.logic.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
Expand Down Expand Up @@ -59,4 +59,4 @@ public DeliveryStatusCommand parse(String args) throws ParseException {
}

}
//@@author {B-enguin}
//@@author B-enguin
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {juliusgambe}
//@@author juliusgambe
package seedu.address.logic.parser.delivery;

import static seedu.address.logic.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
Expand Down Expand Up @@ -46,4 +46,4 @@ public DeliveryViewCommand parse(String args) throws ParseException {
return new DeliveryViewCommand(deliveryId);
}
}
//@@author {juliusgambe}
//@@author juliusgambe
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@@author {zhonghan721}
//@@author zhonghan721
package seedu.address.logic.parser.user;

import static seedu.address.logic.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
Expand Down Expand Up @@ -147,4 +147,4 @@ public UserUpdateDescriptor parseSecretQuestionAndAnswer(ArgumentMultimap argMul
return userUpdateDescriptor;
}
}
//@@author {zhonghan721}
//@@author zhonghan721
8 changes: 4 additions & 4 deletions src/main/java/seedu/address/model/ModelManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public void setAddressBookFilePath(Path addressBookFilePath) {
}


//@@author {B-enguin}
//@@author B-enguin
@Override
public void setAddressBook(ReadOnlyBook<Customer> addressBook) {
this.addressBook.resetData(addressBook);
Expand All @@ -186,7 +186,7 @@ public void setAddressBook(ReadOnlyBook<Customer> addressBook) {
public ReadOnlyBook<Customer> getAddressBook() {
return addressBook;
}
//@@author {B-enguin}
//@@author

@Override
public Optional<Customer> getCustomer(int id) {
Expand Down Expand Up @@ -293,7 +293,7 @@ public boolean isFilteredCustomerListEmpty() {

//=========== User Related Methods =======================================================================

//@@author {jianyangg}
//@@author jianyangg

/**
* Returns the status of the login as a string.
Expand All @@ -313,7 +313,7 @@ public String getLoginStatus() {

return "Logged out. Please login to continue.";
}
//@@author {jianyangg}
//@@author

/**
* Returns true if the {@code user} is currently logged in.
Expand Down

0 comments on commit 2172062

Please sign in to comment.