moved Validator to the web package

This commit is contained in:
Mic 2013-02-13 07:55:12 +08:00
parent 539f7631a5
commit e924e8737a
3 changed files with 1 additions and 11 deletions

View file

@ -1,9 +0,0 @@
/**
*
* The classes in this package represent the set of Validator objects
* the Business Layer makes available to the Presentation Layer.
*
*/
package org.springframework.samples.petclinic.validation;

View file

@ -22,7 +22,6 @@ import org.springframework.samples.petclinic.Owner;
import org.springframework.samples.petclinic.Pet;
import org.springframework.samples.petclinic.PetType;
import org.springframework.samples.petclinic.service.ClinicService;
import org.springframework.samples.petclinic.validation.PetValidator;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;

View file

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.samples.petclinic.validation;
package org.springframework.samples.petclinic.web;
import org.springframework.samples.petclinic.Pet;
import org.springframework.util.StringUtils;