From 6c91be1f9a45040744ed00cc2b103eef0068b199 Mon Sep 17 00:00:00 2001 From: dreamamit Date: Mon, 18 Mar 2013 23:16:58 -0300 Subject: [PATCH] Update PetValidator.java Added detailed comments to validate method --- .../org/springframework/samples/petclinic/web/PetValidator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/springframework/samples/petclinic/web/PetValidator.java b/src/main/java/org/springframework/samples/petclinic/web/PetValidator.java index 557ae3688..a1890618f 100644 --- a/src/main/java/org/springframework/samples/petclinic/web/PetValidator.java +++ b/src/main/java/org/springframework/samples/petclinic/web/PetValidator.java @@ -33,7 +33,7 @@ public class PetValidator { * Error object is set with error messages in case of any validation failures. * * @param Pet - Pet object containing new Pet information such as name, owner - * @return - The method sets the error object and does not return anything + * @return void - The method sets the error object and does not return anything */ public void validate(Pet pet, Errors errors) { String name = pet.getName();