mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 12:25:50 +00:00
Remove commented code
This commit is contained in:
parent
4aad661973
commit
98e5c6e28b
1 changed files with 1 additions and 2 deletions
|
@ -145,8 +145,7 @@ class PetController {
|
|||
if (result.hasErrors()) {
|
||||
return VIEWS_PETS_CREATE_OR_UPDATE_FORM;
|
||||
}
|
||||
|
||||
//owner.addPet(pet);
|
||||
|
||||
owner.updatePet(pet);
|
||||
|
||||
this.owners.save(owner);
|
||||
|
|
Loading…
Reference in a new issue