[hibernate-commits] Hibernate SVN: r17422 - in validator/trunk/hibernate-validator/src: test/java/org/hibernate/validator/constraints and 4 other directories.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Wed Aug 26 08:38:04 EDT 2009


Author: hardy.ferentschik
Date: 2009-08-26 08:38:04 -0400 (Wed, 26 Aug 2009)
New Revision: 17422

Modified:
   validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/ContainsField.java
   validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/ContainsMethod.java
   validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetAnnotationParameter.java
   validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetClassLoader.java
   validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetConstructor.java
   validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetDeclaredField.java
   validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetDeclaredFields.java
   validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetDeclaredMethods.java
   validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetMethod.java
   validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetMethodFromPropertyName.java
   validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetMethods.java
   validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/LazyValidatorFactory.java
   validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/LoadClass.java
   validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/NewInstance.java
   validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/SetAccessibility.java
   validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/constraints/ConstraintValidatorContextTest.java
   validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/constraints/Interval.java
   validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/constraints/Item.java
   validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/constraints/StartLessThanEnd.java
   validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/constraints/StartLessThanEndImpl.java
   validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/constraints/composition/CompositeConstraintTest.java
   validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/constraints/composition/Person.java
   validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/constraints/composition/ValidName.java
   validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/constraints/composition/ValidNameSingleViolation.java
   validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/engine/ValidatorTest.java
   validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/engine/groups/GroupChainTest.java
   validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/engine/messageinterpolation/MessageInterpolationTest.java
Log:
* Added license header
* Enabled svn keyword substitution
* Fixed some typos

Modified: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/ContainsField.java
===================================================================
--- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/ContainsField.java	2009-08-26 12:25:39 UTC (rev 17421)
+++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/ContainsField.java	2009-08-26 12:38:04 UTC (rev 17422)
@@ -1,3 +1,20 @@
+// $Id:$
+/*
+* 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.util;
 
 import java.security.PrivilegedAction;


Property changes on: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/ContainsField.java
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/ContainsMethod.java
===================================================================
--- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/ContainsMethod.java	2009-08-26 12:25:39 UTC (rev 17421)
+++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/ContainsMethod.java	2009-08-26 12:38:04 UTC (rev 17422)
@@ -1,3 +1,20 @@
+// $Id:$
+/*
+* 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.util;
 
 import java.security.PrivilegedAction;
@@ -2,4 +19,2 @@
 
-import org.hibernate.validator.util.ReflectionHelper;
-
 /**


Property changes on: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/ContainsMethod.java
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetAnnotationParameter.java
===================================================================
--- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetAnnotationParameter.java	2009-08-26 12:25:39 UTC (rev 17421)
+++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetAnnotationParameter.java	2009-08-26 12:38:04 UTC (rev 17422)
@@ -1,3 +1,20 @@
+// $Id:$
+/*
+* 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.util;
 
 import java.lang.annotation.Annotation;
@@ -3,6 +20,4 @@
 import java.security.PrivilegedAction;
 
-import org.hibernate.validator.util.ReflectionHelper;
-
 /**
  * @author Emmanuel Bernard


Property changes on: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetAnnotationParameter.java
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetClassLoader.java
===================================================================
--- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetClassLoader.java	2009-08-26 12:25:39 UTC (rev 17421)
+++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetClassLoader.java	2009-08-26 12:38:04 UTC (rev 17422)
@@ -1,3 +1,20 @@
+// $Id:$
+/*
+* 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.util;
 
 import java.security.PrivilegedAction;


Property changes on: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetClassLoader.java
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetConstructor.java
===================================================================
--- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetConstructor.java	2009-08-26 12:25:39 UTC (rev 17421)
+++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetConstructor.java	2009-08-26 12:38:04 UTC (rev 17422)
@@ -1,3 +1,20 @@
+// $Id:$
+/*
+* 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.util;
 
 import java.lang.reflect.Constructor;


Property changes on: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetConstructor.java
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetDeclaredField.java
===================================================================
--- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetDeclaredField.java	2009-08-26 12:25:39 UTC (rev 17421)
+++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetDeclaredField.java	2009-08-26 12:38:04 UTC (rev 17422)
@@ -1,10 +1,25 @@
+// $Id:$
+/*
+* 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.util;
 
+import java.lang.reflect.Field;
 import java.security.PrivilegedAction;
-import java.lang.reflect.Field;
 
-import org.hibernate.validator.util.ReflectionHelper;
-
 /**
  * @author Emmanuel Bernard
  */


Property changes on: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetDeclaredField.java
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetDeclaredFields.java
===================================================================
--- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetDeclaredFields.java	2009-08-26 12:25:39 UTC (rev 17421)
+++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetDeclaredFields.java	2009-08-26 12:38:04 UTC (rev 17422)
@@ -1,3 +1,20 @@
+// $Id:$
+/*
+* 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.util;
 
 import java.security.PrivilegedAction;


Property changes on: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetDeclaredFields.java
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetDeclaredMethods.java
===================================================================
--- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetDeclaredMethods.java	2009-08-26 12:25:39 UTC (rev 17421)
+++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetDeclaredMethods.java	2009-08-26 12:38:04 UTC (rev 17422)
@@ -1,3 +1,20 @@
+// $Id:$
+/*
+* 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.util;
 
 import java.security.PrivilegedAction;


Property changes on: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetDeclaredMethods.java
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetMethod.java
===================================================================
--- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetMethod.java	2009-08-26 12:25:39 UTC (rev 17421)
+++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetMethod.java	2009-08-26 12:38:04 UTC (rev 17422)
@@ -1,3 +1,20 @@
+// $Id:$
+/*
+* 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.util;
 
 import java.lang.reflect.Method;


Property changes on: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetMethod.java
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetMethodFromPropertyName.java
===================================================================
--- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetMethodFromPropertyName.java	2009-08-26 12:25:39 UTC (rev 17421)
+++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetMethodFromPropertyName.java	2009-08-26 12:38:04 UTC (rev 17422)
@@ -1,3 +1,20 @@
+// $Id:$
+/*
+* 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.util;
 
 import java.lang.reflect.Method;
@@ -3,6 +20,4 @@
 import java.security.PrivilegedAction;
 
-import org.hibernate.validator.util.ReflectionHelper;
-
 /**
  * @author Emmanuel Bernard


Property changes on: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetMethodFromPropertyName.java
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetMethods.java
===================================================================
--- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetMethods.java	2009-08-26 12:25:39 UTC (rev 17421)
+++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetMethods.java	2009-08-26 12:38:04 UTC (rev 17422)
@@ -1,3 +1,20 @@
+// $Id:$
+/*
+* 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.util;
 
 import java.security.PrivilegedAction;


Property changes on: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/GetMethods.java
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/LazyValidatorFactory.java
===================================================================
--- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/LazyValidatorFactory.java	2009-08-26 12:25:39 UTC (rev 17421)
+++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/LazyValidatorFactory.java	2009-08-26 12:38:04 UTC (rev 17422)
@@ -1,4 +1,4 @@
-// $Id: ValidatorFactoryImpl.java 16960 2009-06-29 11:48:29Z hardy.ferentschik $
+// $Id$
 /*
 * JBoss, Home of Professional Open Source
 * Copyright 2008, Red Hat Middleware LLC, and individual contributors


Property changes on: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/LazyValidatorFactory.java
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/LoadClass.java
===================================================================
--- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/LoadClass.java	2009-08-26 12:25:39 UTC (rev 17421)
+++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/LoadClass.java	2009-08-26 12:38:04 UTC (rev 17422)
@@ -1,3 +1,20 @@
+// $Id:$
+/*
+* 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.util;
 
 import java.security.PrivilegedAction;


Property changes on: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/LoadClass.java
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/NewInstance.java
===================================================================
--- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/NewInstance.java	2009-08-26 12:25:39 UTC (rev 17421)
+++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/NewInstance.java	2009-08-26 12:38:04 UTC (rev 17422)
@@ -1,3 +1,20 @@
+// $Id:$
+/*
+* 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.util;
 
 import java.security.PrivilegedAction;
@@ -24,13 +41,13 @@
 			return clazz.newInstance();
 		}
 		catch ( InstantiationException e ) {
-			throw new ValidationException( "Unable to instanciate " + message + ": " + clazz, e );
+			throw new ValidationException( "Unable to instantiate " + message + ": " + clazz, e );
 		}
 		catch ( IllegalAccessException e ) {
-			throw new ValidationException( "Unable to instanciate " + clazz, e );
+			throw new ValidationException( "Unable to instantiate " + clazz, e );
 		}
 		catch ( RuntimeException e ) {
-			throw new ValidationException( "Unable to instanciate " + clazz, e );
+			throw new ValidationException( "Unable to instantiate " + clazz, e );
 		}
 	}
 }


Property changes on: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/NewInstance.java
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/SetAccessibility.java
===================================================================
--- validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/SetAccessibility.java	2009-08-26 12:25:39 UTC (rev 17421)
+++ validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/SetAccessibility.java	2009-08-26 12:38:04 UTC (rev 17422)
@@ -1,3 +1,20 @@
+// $Id:$
+/*
+* 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.util;
 
 import java.lang.reflect.Member;
@@ -3,6 +20,4 @@
 import java.security.PrivilegedAction;
 
-import org.hibernate.validator.util.ReflectionHelper;
-
 /**
  * @author Emmanuel Bernard


Property changes on: validator/trunk/hibernate-validator/src/main/java/org/hibernate/validator/util/SetAccessibility.java
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/constraints/ConstraintValidatorContextTest.java
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/constraints/Interval.java
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/constraints/Item.java
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/constraints/StartLessThanEnd.java
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/constraints/StartLessThanEndImpl.java
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/constraints/composition/CompositeConstraintTest.java
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/constraints/composition/Person.java
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/constraints/composition/ValidName.java
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/constraints/composition/ValidNameSingleViolation.java
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/engine/ValidatorTest.java
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/engine/groups/GroupChainTest.java
===================================================================
--- validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/engine/groups/GroupChainTest.java	2009-08-26 12:25:39 UTC (rev 17421)
+++ validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/engine/groups/GroupChainTest.java	2009-08-26 12:38:04 UTC (rev 17422)
@@ -31,7 +31,7 @@
  */
 public class GroupChainTest {
 	@Test
-	public void testAssertDefaulGroupSequenceIsExpandableWithDefaultAtEndOfSequence() {
+	public void testAssertDefaultGroupSequenceIsExpandableWithDefaultAtEndOfSequence() {
 		// create a dummy sequence
 		Group a = new Group( GroupA.class, TestSequence.class );
 		Group b = new Group( GroupB.class, TestSequence.class );


Property changes on: validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/engine/groups/GroupChainTest.java
___________________________________________________________________
Name: svn:keywords
   + Id


Property changes on: validator/trunk/hibernate-validator/src/test/java/org/hibernate/validator/engine/messageinterpolation/MessageInterpolationTest.java
___________________________________________________________________
Name: svn:keywords
   + Id



More information about the hibernate-commits mailing list