[hibernate-commits] Hibernate SVN: r18806 - validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/constraints.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Mon Feb 15 14:23:36 EST 2010


Author: hardy.ferentschik
Date: 2010-02-15 14:23:35 -0500 (Mon, 15 Feb 2010)
New Revision: 18806

Removed:
   validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/constraints/Url.java
Log:
Removed validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/constraints/Url.java

Deleted: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/constraints/Url.java
===================================================================
--- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/constraints/Url.java	2010-02-15 19:04:40 UTC (rev 18805)
+++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/constraints/Url.java	2010-02-15 19:23:35 UTC (rev 18806)
@@ -1,48 +0,0 @@
-// $Id: Length.java 17427 2009-08-27 09:47:28Z hardy.ferentschik $
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2008, Red Hat Middleware LLC, and individual contributors
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-* http://www.apache.org/licenses/LICENSE-2.0
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-package org.hibernate.validator.constraints;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-import javax.validation.Constraint;
-import javax.validation.Payload;
-
-import org.hibernate.validator.constraints.impl.URLValidator;
-
-import static java.lang.annotation.ElementType.FIELD;
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.ElementType.TYPE;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
-/**
- * Validate that the string is a valid URL.
- *
- * @author Hardy Ferentschik
- */
- at Documented
- at Constraint(validatedBy = URLValidator.class)
- at Target({ METHOD, FIELD, TYPE })
- at Retention(RUNTIME)
-public @interface URL {
-	public abstract String message() default "{org.hibernate.validator.constraints.URL.message}";
-
-	public abstract Class<?>[] groups() default { };
-
-	public abstract Class<? extends Payload>[] payload() default { };
-}
\ No newline at end of file



More information about the hibernate-commits mailing list