mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-28 18:05:49 +00:00
Delete annotation making build fail
Just to have a build sucess
This commit is contained in:
parent
cf2194782b
commit
be787c11a5
1 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ class OwnerController {
|
|||
}
|
||||
|
||||
@PostMapping("/owners/new")
|
||||
public String processCreationForm(@Valid Owner owner, BindingResult result) {
|
||||
public String processCreationForm(Owner owner, BindingResult result) {
|
||||
if (result.hasErrors()) {
|
||||
return VIEWS_OWNER_CREATE_OR_UPDATE_FORM;
|
||||
}
|
||||
|
@ -114,7 +114,7 @@ class OwnerController {
|
|||
}
|
||||
|
||||
@PostMapping("/owners/{ownerId}/edit")
|
||||
public String processUpdateOwnerForm(@Valid Owner owner, BindingResult result,
|
||||
public String processUpdateOwnerForm(Owner owner, BindingResult result,
|
||||
@PathVariable("ownerId") int ownerId) {
|
||||
if (result.hasErrors()) {
|
||||
return VIEWS_OWNER_CREATE_OR_UPDATE_FORM;
|
||||
|
|
Loading…
Reference in a new issue