Skip to content

Commit

Permalink
Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
marquestye committed Nov 13, 2023
1 parent 174bbfa commit c67d409
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public CommandResult execute(Model model) throws CommandException {

// Edit module
Module editedModule = createEditedModule(moduleToEdit, editModuleDescriptor);
assert editedModule.isSameModule(moduleToEdit) : MESSAGE_MODULE_CODE_CHANGE;
assert editedModule.isSameModule(moduleToEdit) : MESSAGE_MODULE_CODE_CHANGE;

// Update module plan and return success message
model.setModule(moduleToEdit, editedModule);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public void equals_differentObj_returnFalse() {
@Test
public void hashCodeMethod() {
modulePlan.resetData(getTypicalModulePlan());

// same object
assertTrue(modulePlan.hashCode() == modulePlan.hashCode());

Expand Down

0 comments on commit c67d409

Please sign in to comment.