Skip to content

Commit

Permalink
Updated for merge
Browse files Browse the repository at this point in the history
  • Loading branch information
wynonaK committed Mar 30, 2018
1 parent 6293d7a commit 2a8dff3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/main/java/seedu/address/MainApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*/
public class MainApp extends Application {

public static final Version VERSION = new Version(0, 6, 0, true);
public static final Version VERSION = new Version(1, 3, 17, true);

private static final Logger logger = LogsCenter.getLogger(MainApp.class);

Expand Down
3 changes: 0 additions & 3 deletions src/main/java/seedu/address/model/Model.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ void updatePerson(Person target, Person editedPerson)
*/
void updateFilteredAppointmentList(Predicate<Appointment> predicate);

/** Returns an unmodifiable view of the filtered pet patient list */
ObservableList<PetPatient> getFilteredPetPatientList();

void updateFilteredPetPatientList(Predicate<PetPatient> predicate);

void addPetPatient(PetPatient petPatient) throws DuplicatePetPatientException;
Expand Down
5 changes: 0 additions & 5 deletions src/main/java/seedu/address/model/ModelManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,6 @@ public ObservableList<PetPatient> getFilteredPetPatientList() {
return FXCollections.unmodifiableObservableList(filteredPetPatients);
}

@Override
public ObservableList<PetPatient> getFilteredPetPatientList() {
return FXCollections.unmodifiableObservableList(filteredPetPatients);
}

@Override
public void updateFilteredPetPatientList(Predicate<PetPatient> predicate) {
requireNonNull(predicate);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public void execute_invalidPersonIndexUnfilteredList_failure() {
EditPersonDescriptor descriptor = new EditPersonDescriptorBuilder().withName(VALID_NAME_BOB).build();
EditCommand editCommand = prepareCommand(outOfBoundIndex, descriptor);

assertCommandFailure(editCommand, model, Messages.MESSAGE_INVALID_DISPLAYED_INDEX);
assertCommandFailure(editCommand, model, Messages.MESSAGE_INVALID_PERSON_DISPLAYED_INDEX);
}

/**
Expand All @@ -147,7 +147,7 @@ public void execute_invalidPersonIndexFilteredList_failure() {
EditCommand editCommand = prepareCommand(outOfBoundIndex,
new EditPersonDescriptorBuilder().withName(VALID_NAME_BOB).build());

assertCommandFailure(editCommand, model, Messages.MESSAGE_INVALID_DISPLAYED_INDEX);
assertCommandFailure(editCommand, model, Messages.MESSAGE_INVALID_PERSON_DISPLAYED_INDEX);
}

@Test
Expand Down Expand Up @@ -183,7 +183,7 @@ public void executeUndoRedo_invalidIndexUnfilteredList_failure() {
EditCommand editCommand = prepareCommand(outOfBoundIndex, descriptor);

// execution failed -> editCommand not pushed into undoRedoStack
assertCommandFailure(editCommand, model, Messages.MESSAGE_INVALID_DISPLAYED_INDEX);
assertCommandFailure(editCommand, model, Messages.MESSAGE_INVALID_PERSON_DISPLAYED_INDEX);

// no commands in undoRedoStack -> undoCommand and redoCommand fail
assertCommandFailure(undoCommand, model, UndoCommand.MESSAGE_FAILURE);
Expand Down

0 comments on commit 2a8dff3

Please sign in to comment.