diff --git a/src/main/java/javax/validation/BootstrapConfiguration.java b/src/main/java/javax/validation/BootstrapConfiguration.java index 3264786f..42d509fe 100644 --- a/src/main/java/javax/validation/BootstrapConfiguration.java +++ b/src/main/java/javax/validation/BootstrapConfiguration.java @@ -1,18 +1,9 @@ /* -* Copyright 2012-2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; import java.util.Map; diff --git a/src/main/java/javax/validation/Configuration.java b/src/main/java/javax/validation/Configuration.java index d3ea29f3..c21182d8 100755 --- a/src/main/java/javax/validation/Configuration.java +++ b/src/main/java/javax/validation/Configuration.java @@ -1,18 +1,9 @@ /* -* Copyright 2009-2012, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; import java.io.InputStream; diff --git a/src/main/java/javax/validation/Constraint.java b/src/main/java/javax/validation/Constraint.java index 433e0ea1..172705c5 100644 --- a/src/main/java/javax/validation/Constraint.java +++ b/src/main/java/javax/validation/Constraint.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; import java.lang.annotation.Documented; diff --git a/src/main/java/javax/validation/ConstraintDeclarationException.java b/src/main/java/javax/validation/ConstraintDeclarationException.java index 64698c25..522fae00 100644 --- a/src/main/java/javax/validation/ConstraintDeclarationException.java +++ b/src/main/java/javax/validation/ConstraintDeclarationException.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; /** diff --git a/src/main/java/javax/validation/ConstraintDefinitionException.java b/src/main/java/javax/validation/ConstraintDefinitionException.java index 7330bcbf..af8024ce 100644 --- a/src/main/java/javax/validation/ConstraintDefinitionException.java +++ b/src/main/java/javax/validation/ConstraintDefinitionException.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; /** diff --git a/src/main/java/javax/validation/ConstraintTarget.java b/src/main/java/javax/validation/ConstraintTarget.java index 745bb6e2..c47d581f 100644 --- a/src/main/java/javax/validation/ConstraintTarget.java +++ b/src/main/java/javax/validation/ConstraintTarget.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; /** diff --git a/src/main/java/javax/validation/ConstraintValidator.java b/src/main/java/javax/validation/ConstraintValidator.java index bbfbf8e6..a0590391 100644 --- a/src/main/java/javax/validation/ConstraintValidator.java +++ b/src/main/java/javax/validation/ConstraintValidator.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; import javax.validation.constraintvalidation.SupportedValidationTarget; diff --git a/src/main/java/javax/validation/ConstraintValidatorContext.java b/src/main/java/javax/validation/ConstraintValidatorContext.java index fececaa2..c1166c91 100644 --- a/src/main/java/javax/validation/ConstraintValidatorContext.java +++ b/src/main/java/javax/validation/ConstraintValidatorContext.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009-2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; /** diff --git a/src/main/java/javax/validation/ConstraintValidatorFactory.java b/src/main/java/javax/validation/ConstraintValidatorFactory.java index 5d1ab2bb..80881e9d 100644 --- a/src/main/java/javax/validation/ConstraintValidatorFactory.java +++ b/src/main/java/javax/validation/ConstraintValidatorFactory.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009-2012, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; /** diff --git a/src/main/java/javax/validation/ConstraintViolation.java b/src/main/java/javax/validation/ConstraintViolation.java index 3d4c5d42..5a8bf4d0 100644 --- a/src/main/java/javax/validation/ConstraintViolation.java +++ b/src/main/java/javax/validation/ConstraintViolation.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009-2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; import javax.validation.metadata.ConstraintDescriptor; diff --git a/src/main/java/javax/validation/ConstraintViolationException.java b/src/main/java/javax/validation/ConstraintViolationException.java index 55cd85f2..827bc24f 100644 --- a/src/main/java/javax/validation/ConstraintViolationException.java +++ b/src/main/java/javax/validation/ConstraintViolationException.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009-2012, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; import java.util.HashSet; diff --git a/src/main/java/javax/validation/ElementKind.java b/src/main/java/javax/validation/ElementKind.java index de90190d..3a671dc9 100644 --- a/src/main/java/javax/validation/ElementKind.java +++ b/src/main/java/javax/validation/ElementKind.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2012-2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; /** diff --git a/src/main/java/javax/validation/GroupDefinitionException.java b/src/main/java/javax/validation/GroupDefinitionException.java index 34004766..5fdc7534 100644 --- a/src/main/java/javax/validation/GroupDefinitionException.java +++ b/src/main/java/javax/validation/GroupDefinitionException.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; /** diff --git a/src/main/java/javax/validation/GroupSequence.java b/src/main/java/javax/validation/GroupSequence.java index 9132ce52..6b9388a8 100644 --- a/src/main/java/javax/validation/GroupSequence.java +++ b/src/main/java/javax/validation/GroupSequence.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; import javax.validation.groups.Default; diff --git a/src/main/java/javax/validation/MessageInterpolator.java b/src/main/java/javax/validation/MessageInterpolator.java index 0b480032..ca02f920 100644 --- a/src/main/java/javax/validation/MessageInterpolator.java +++ b/src/main/java/javax/validation/MessageInterpolator.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009-2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; import java.util.Locale; diff --git a/src/main/java/javax/validation/OverridesAttribute.java b/src/main/java/javax/validation/OverridesAttribute.java index a751a442..ba4e0fb5 100644 --- a/src/main/java/javax/validation/OverridesAttribute.java +++ b/src/main/java/javax/validation/OverridesAttribute.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; import java.lang.annotation.Annotation; diff --git a/src/main/java/javax/validation/ParameterNameProvider.java b/src/main/java/javax/validation/ParameterNameProvider.java index f05c7c01..7d03347c 100644 --- a/src/main/java/javax/validation/ParameterNameProvider.java +++ b/src/main/java/javax/validation/ParameterNameProvider.java @@ -1,18 +1,8 @@ /* - * JBoss, Home of Professional Open Source - * Copyright 2012, Red Hat, Inc. and/or its affiliates, and individual contributors - * by the @authors tag. See the copyright.txt in the distribution for a - * full listing of individual contributors. + * Bean Validation API * - * 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. + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . */ package javax.validation; diff --git a/src/main/java/javax/validation/Path.java b/src/main/java/javax/validation/Path.java index e8203423..8264f83f 100644 --- a/src/main/java/javax/validation/Path.java +++ b/src/main/java/javax/validation/Path.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009-2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; import java.util.List; diff --git a/src/main/java/javax/validation/Payload.java b/src/main/java/javax/validation/Payload.java index d543c29c..1107f37d 100644 --- a/src/main/java/javax/validation/Payload.java +++ b/src/main/java/javax/validation/Payload.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; /** diff --git a/src/main/java/javax/validation/ReportAsSingleViolation.java b/src/main/java/javax/validation/ReportAsSingleViolation.java index 82a89410..41061daf 100644 --- a/src/main/java/javax/validation/ReportAsSingleViolation.java +++ b/src/main/java/javax/validation/ReportAsSingleViolation.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009-2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; import java.lang.annotation.Retention; diff --git a/src/main/java/javax/validation/TraversableResolver.java b/src/main/java/javax/validation/TraversableResolver.java index 05f03f4a..09acf1cf 100644 --- a/src/main/java/javax/validation/TraversableResolver.java +++ b/src/main/java/javax/validation/TraversableResolver.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; import java.lang.annotation.ElementType; diff --git a/src/main/java/javax/validation/UnexpectedTypeException.java b/src/main/java/javax/validation/UnexpectedTypeException.java index 65264832..a567de32 100644 --- a/src/main/java/javax/validation/UnexpectedTypeException.java +++ b/src/main/java/javax/validation/UnexpectedTypeException.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; /** diff --git a/src/main/java/javax/validation/Valid.java b/src/main/java/javax/validation/Valid.java index 490074e0..af18ae5d 100644 --- a/src/main/java/javax/validation/Valid.java +++ b/src/main/java/javax/validation/Valid.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; import static java.lang.annotation.ElementType.FIELD; diff --git a/src/main/java/javax/validation/Validation.java b/src/main/java/javax/validation/Validation.java index a903b272..2201cb75 100755 --- a/src/main/java/javax/validation/Validation.java +++ b/src/main/java/javax/validation/Validation.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; import java.lang.ref.SoftReference; diff --git a/src/main/java/javax/validation/ValidationException.java b/src/main/java/javax/validation/ValidationException.java index d68802af..1ced32c4 100755 --- a/src/main/java/javax/validation/ValidationException.java +++ b/src/main/java/javax/validation/ValidationException.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; /** diff --git a/src/main/java/javax/validation/ValidationProviderResolver.java b/src/main/java/javax/validation/ValidationProviderResolver.java index 7f17869a..aafccad4 100644 --- a/src/main/java/javax/validation/ValidationProviderResolver.java +++ b/src/main/java/javax/validation/ValidationProviderResolver.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; import java.util.List; diff --git a/src/main/java/javax/validation/Validator.java b/src/main/java/javax/validation/Validator.java index ad69e333..26e687e8 100644 --- a/src/main/java/javax/validation/Validator.java +++ b/src/main/java/javax/validation/Validator.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009-2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; import java.util.Set; diff --git a/src/main/java/javax/validation/ValidatorContext.java b/src/main/java/javax/validation/ValidatorContext.java index 6e9c62da..fb49e47e 100644 --- a/src/main/java/javax/validation/ValidatorContext.java +++ b/src/main/java/javax/validation/ValidatorContext.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009-2012, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; /** diff --git a/src/main/java/javax/validation/ValidatorFactory.java b/src/main/java/javax/validation/ValidatorFactory.java index bdc8d3f4..71cc4807 100755 --- a/src/main/java/javax/validation/ValidatorFactory.java +++ b/src/main/java/javax/validation/ValidatorFactory.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009-2012, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; /** diff --git a/src/main/java/javax/validation/bootstrap/GenericBootstrap.java b/src/main/java/javax/validation/bootstrap/GenericBootstrap.java index 6dc01578..c6b3ab39 100644 --- a/src/main/java/javax/validation/bootstrap/GenericBootstrap.java +++ b/src/main/java/javax/validation/bootstrap/GenericBootstrap.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.bootstrap; import javax.validation.Configuration; diff --git a/src/main/java/javax/validation/bootstrap/ProviderSpecificBootstrap.java b/src/main/java/javax/validation/bootstrap/ProviderSpecificBootstrap.java index f5cadc9b..30e45ecd 100644 --- a/src/main/java/javax/validation/bootstrap/ProviderSpecificBootstrap.java +++ b/src/main/java/javax/validation/bootstrap/ProviderSpecificBootstrap.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.bootstrap; import javax.validation.Configuration; diff --git a/src/main/java/javax/validation/bootstrap/package-info.java b/src/main/java/javax/validation/bootstrap/package-info.java index 8aac86e3..161c2120 100644 --- a/src/main/java/javax/validation/bootstrap/package-info.java +++ b/src/main/java/javax/validation/bootstrap/package-info.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ /** * Package containing bootstrap specific objects. * Typical users are not interested in these objects. diff --git a/src/main/java/javax/validation/constraints/AssertFalse.java b/src/main/java/javax/validation/constraints/AssertFalse.java index d3b66806..042501fe 100644 --- a/src/main/java/javax/validation/constraints/AssertFalse.java +++ b/src/main/java/javax/validation/constraints/AssertFalse.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.constraints; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/src/main/java/javax/validation/constraints/AssertTrue.java b/src/main/java/javax/validation/constraints/AssertTrue.java index ff0bfa25..844d987f 100644 --- a/src/main/java/javax/validation/constraints/AssertTrue.java +++ b/src/main/java/javax/validation/constraints/AssertTrue.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.constraints; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/src/main/java/javax/validation/constraints/DecimalMax.java b/src/main/java/javax/validation/constraints/DecimalMax.java index 25647285..8e64d8bb 100644 --- a/src/main/java/javax/validation/constraints/DecimalMax.java +++ b/src/main/java/javax/validation/constraints/DecimalMax.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009-2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.constraints; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/src/main/java/javax/validation/constraints/DecimalMin.java b/src/main/java/javax/validation/constraints/DecimalMin.java index 4f96c45c..7856566d 100644 --- a/src/main/java/javax/validation/constraints/DecimalMin.java +++ b/src/main/java/javax/validation/constraints/DecimalMin.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009-2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.constraints; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/src/main/java/javax/validation/constraints/Digits.java b/src/main/java/javax/validation/constraints/Digits.java index 3c6ba89e..242ce878 100644 --- a/src/main/java/javax/validation/constraints/Digits.java +++ b/src/main/java/javax/validation/constraints/Digits.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.constraints; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/src/main/java/javax/validation/constraints/Future.java b/src/main/java/javax/validation/constraints/Future.java index 4403e3ad..226f9389 100644 --- a/src/main/java/javax/validation/constraints/Future.java +++ b/src/main/java/javax/validation/constraints/Future.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.constraints; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/src/main/java/javax/validation/constraints/Max.java b/src/main/java/javax/validation/constraints/Max.java index a595a2c9..27aaa95a 100644 --- a/src/main/java/javax/validation/constraints/Max.java +++ b/src/main/java/javax/validation/constraints/Max.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.constraints; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/src/main/java/javax/validation/constraints/Min.java b/src/main/java/javax/validation/constraints/Min.java index 4a5285d5..27471f7c 100644 --- a/src/main/java/javax/validation/constraints/Min.java +++ b/src/main/java/javax/validation/constraints/Min.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.constraints; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/src/main/java/javax/validation/constraints/NotNull.java b/src/main/java/javax/validation/constraints/NotNull.java index 44364bdd..cbfbc4e5 100644 --- a/src/main/java/javax/validation/constraints/NotNull.java +++ b/src/main/java/javax/validation/constraints/NotNull.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.constraints; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/src/main/java/javax/validation/constraints/Null.java b/src/main/java/javax/validation/constraints/Null.java index 8309877d..d2975aca 100644 --- a/src/main/java/javax/validation/constraints/Null.java +++ b/src/main/java/javax/validation/constraints/Null.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.constraints; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/src/main/java/javax/validation/constraints/Past.java b/src/main/java/javax/validation/constraints/Past.java index fca5baec..383d18fb 100644 --- a/src/main/java/javax/validation/constraints/Past.java +++ b/src/main/java/javax/validation/constraints/Past.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.constraints; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/src/main/java/javax/validation/constraints/Pattern.java b/src/main/java/javax/validation/constraints/Pattern.java index e49d25bd..0f3191fe 100644 --- a/src/main/java/javax/validation/constraints/Pattern.java +++ b/src/main/java/javax/validation/constraints/Pattern.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.constraints; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/src/main/java/javax/validation/constraints/Size.java b/src/main/java/javax/validation/constraints/Size.java index 3d913c0c..4a16bc09 100644 --- a/src/main/java/javax/validation/constraints/Size.java +++ b/src/main/java/javax/validation/constraints/Size.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.constraints; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; diff --git a/src/main/java/javax/validation/constraints/package-info.java b/src/main/java/javax/validation/constraints/package-info.java index 0e59fcb6..a771da1b 100644 --- a/src/main/java/javax/validation/constraints/package-info.java +++ b/src/main/java/javax/validation/constraints/package-info.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ /** * Contains all the Bean Validation provided constraints * also called built-in constraints. diff --git a/src/main/java/javax/validation/constraintvalidation/SupportedValidationTarget.java b/src/main/java/javax/validation/constraintvalidation/SupportedValidationTarget.java index 18cf411e..72448ca1 100644 --- a/src/main/java/javax/validation/constraintvalidation/SupportedValidationTarget.java +++ b/src/main/java/javax/validation/constraintvalidation/SupportedValidationTarget.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.constraintvalidation; import javax.validation.ConstraintValidator; diff --git a/src/main/java/javax/validation/constraintvalidation/ValidationTarget.java b/src/main/java/javax/validation/constraintvalidation/ValidationTarget.java index 94c6993d..b96c2fbc 100644 --- a/src/main/java/javax/validation/constraintvalidation/ValidationTarget.java +++ b/src/main/java/javax/validation/constraintvalidation/ValidationTarget.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.constraintvalidation; import javax.validation.ConstraintValidator; diff --git a/src/main/java/javax/validation/constraintvalidation/package-info.java b/src/main/java/javax/validation/constraintvalidation/package-info.java index 3233e726..9a228f6e 100644 --- a/src/main/java/javax/validation/constraintvalidation/package-info.java +++ b/src/main/java/javax/validation/constraintvalidation/package-info.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ /** * Package containing constructs specific to constraint validators * In particular {@link javax.validation.constraintvalidation.SupportedValidationTarget} diff --git a/src/main/java/javax/validation/executable/ExecutableType.java b/src/main/java/javax/validation/executable/ExecutableType.java index 6a1f4368..6c9eea73 100644 --- a/src/main/java/javax/validation/executable/ExecutableType.java +++ b/src/main/java/javax/validation/executable/ExecutableType.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2012-2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.executable; /** diff --git a/src/main/java/javax/validation/executable/ExecutableValidator.java b/src/main/java/javax/validation/executable/ExecutableValidator.java index f6f42011..f775e950 100644 --- a/src/main/java/javax/validation/executable/ExecutableValidator.java +++ b/src/main/java/javax/validation/executable/ExecutableValidator.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2012-2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.executable; import java.lang.reflect.Constructor; diff --git a/src/main/java/javax/validation/executable/ValidateOnExecution.java b/src/main/java/javax/validation/executable/ValidateOnExecution.java index b1b2bf24..0f9ba9ef 100644 --- a/src/main/java/javax/validation/executable/ValidateOnExecution.java +++ b/src/main/java/javax/validation/executable/ValidateOnExecution.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2012-2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.executable; import javax.validation.ValidationException; diff --git a/src/main/java/javax/validation/executable/package-info.java b/src/main/java/javax/validation/executable/package-info.java index 9ba72757..e2181645 100644 --- a/src/main/java/javax/validation/executable/package-info.java +++ b/src/main/java/javax/validation/executable/package-info.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ /** * Package related to the control and execution of executable validation. * Use {@link javax.validation.executable.ValidateOnExecution} to control whether or diff --git a/src/main/java/javax/validation/groups/ConvertGroup.java b/src/main/java/javax/validation/groups/ConvertGroup.java index a3980963..207a5857 100644 --- a/src/main/java/javax/validation/groups/ConvertGroup.java +++ b/src/main/java/javax/validation/groups/ConvertGroup.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2012, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.groups; import javax.validation.Valid; diff --git a/src/main/java/javax/validation/groups/Default.java b/src/main/java/javax/validation/groups/Default.java index b7ad63c7..e0d35d4d 100644 --- a/src/main/java/javax/validation/groups/Default.java +++ b/src/main/java/javax/validation/groups/Default.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.groups; /** diff --git a/src/main/java/javax/validation/groups/package-info.java b/src/main/java/javax/validation/groups/package-info.java index 58be6747..e68942d9 100644 --- a/src/main/java/javax/validation/groups/package-info.java +++ b/src/main/java/javax/validation/groups/package-info.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009-2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ /** * A group defines a subset of constraints. Instead of * validating all constraints for a given object graph, diff --git a/src/main/java/javax/validation/metadata/BeanDescriptor.java b/src/main/java/javax/validation/metadata/BeanDescriptor.java index 3aabd4ee..b2366173 100644 --- a/src/main/java/javax/validation/metadata/BeanDescriptor.java +++ b/src/main/java/javax/validation/metadata/BeanDescriptor.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009-2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.metadata; import javax.validation.Valid; diff --git a/src/main/java/javax/validation/metadata/CascadableDescriptor.java b/src/main/java/javax/validation/metadata/CascadableDescriptor.java index 77b00bcf..f4b50d4e 100644 --- a/src/main/java/javax/validation/metadata/CascadableDescriptor.java +++ b/src/main/java/javax/validation/metadata/CascadableDescriptor.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.metadata; import java.util.Set; diff --git a/src/main/java/javax/validation/metadata/ConstraintDescriptor.java b/src/main/java/javax/validation/metadata/ConstraintDescriptor.java index dc7f9ec9..9a0de6fb 100644 --- a/src/main/java/javax/validation/metadata/ConstraintDescriptor.java +++ b/src/main/java/javax/validation/metadata/ConstraintDescriptor.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.metadata; import java.lang.annotation.Annotation; diff --git a/src/main/java/javax/validation/metadata/ConstructorDescriptor.java b/src/main/java/javax/validation/metadata/ConstructorDescriptor.java index ed386bd4..8548e830 100644 --- a/src/main/java/javax/validation/metadata/ConstructorDescriptor.java +++ b/src/main/java/javax/validation/metadata/ConstructorDescriptor.java @@ -1,18 +1,8 @@ /* - * JBoss, Home of Professional Open Source - * Copyright 2012, Red Hat, Inc. and/or its affiliates, and individual contributors - * by the @authors tag. See the copyright.txt in the distribution for a - * full listing of individual contributors. + * Bean Validation API * - * 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. + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . */ package javax.validation.metadata; diff --git a/src/main/java/javax/validation/metadata/CrossParameterDescriptor.java b/src/main/java/javax/validation/metadata/CrossParameterDescriptor.java index eec2d146..b7c2c90c 100644 --- a/src/main/java/javax/validation/metadata/CrossParameterDescriptor.java +++ b/src/main/java/javax/validation/metadata/CrossParameterDescriptor.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.metadata; /** diff --git a/src/main/java/javax/validation/metadata/ElementDescriptor.java b/src/main/java/javax/validation/metadata/ElementDescriptor.java index 37c2f757..845c0766 100644 --- a/src/main/java/javax/validation/metadata/ElementDescriptor.java +++ b/src/main/java/javax/validation/metadata/ElementDescriptor.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.metadata; import javax.validation.groups.Default; diff --git a/src/main/java/javax/validation/metadata/ExecutableDescriptor.java b/src/main/java/javax/validation/metadata/ExecutableDescriptor.java index c926ef19..9e4421e0 100644 --- a/src/main/java/javax/validation/metadata/ExecutableDescriptor.java +++ b/src/main/java/javax/validation/metadata/ExecutableDescriptor.java @@ -1,18 +1,8 @@ /* - * JBoss, Home of Professional Open Source - * Copyright 2012-2013, Red Hat, Inc. and/or its affiliates, and individual contributors - * by the @authors tag. See the copyright.txt in the distribution for a - * full listing of individual contributors. + * Bean Validation API * - * 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. + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . */ package javax.validation.metadata; diff --git a/src/main/java/javax/validation/metadata/GroupConversionDescriptor.java b/src/main/java/javax/validation/metadata/GroupConversionDescriptor.java index c7d83444..dd36ac6b 100644 --- a/src/main/java/javax/validation/metadata/GroupConversionDescriptor.java +++ b/src/main/java/javax/validation/metadata/GroupConversionDescriptor.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.metadata; import javax.validation.groups.ConvertGroup; diff --git a/src/main/java/javax/validation/metadata/MethodDescriptor.java b/src/main/java/javax/validation/metadata/MethodDescriptor.java index 491e44c5..4d5ab1de 100644 --- a/src/main/java/javax/validation/metadata/MethodDescriptor.java +++ b/src/main/java/javax/validation/metadata/MethodDescriptor.java @@ -1,18 +1,8 @@ /* - * JBoss, Home of Professional Open Source - * Copyright 2011, Red Hat, Inc. and/or its affiliates, and individual contributors - * by the @authors tag. See the copyright.txt in the distribution for a - * full listing of individual contributors. + * Bean Validation API * - * 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. + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . */ package javax.validation.metadata; diff --git a/src/main/java/javax/validation/metadata/MethodType.java b/src/main/java/javax/validation/metadata/MethodType.java index e8c78f30..09a940f7 100644 --- a/src/main/java/javax/validation/metadata/MethodType.java +++ b/src/main/java/javax/validation/metadata/MethodType.java @@ -1,18 +1,8 @@ /* - * JBoss, Home of Professional Open Source - * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual contributors - * by the @authors tag. See the copyright.txt in the distribution for a - * full listing of individual contributors. + * Bean Validation API * - * 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. + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . */ package javax.validation.metadata; diff --git a/src/main/java/javax/validation/metadata/ParameterDescriptor.java b/src/main/java/javax/validation/metadata/ParameterDescriptor.java index fc52dbdc..95154831 100644 --- a/src/main/java/javax/validation/metadata/ParameterDescriptor.java +++ b/src/main/java/javax/validation/metadata/ParameterDescriptor.java @@ -1,18 +1,8 @@ /* - * JBoss, Home of Professional Open Source - * Copyright 2011-2013, Red Hat, Inc. and/or its affiliates, and individual contributors - * by the @authors tag. See the copyright.txt in the distribution for a - * full listing of individual contributors. + * Bean Validation API * - * 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. + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . */ package javax.validation.metadata; diff --git a/src/main/java/javax/validation/metadata/PropertyDescriptor.java b/src/main/java/javax/validation/metadata/PropertyDescriptor.java index 50eeb064..1d5a9c45 100644 --- a/src/main/java/javax/validation/metadata/PropertyDescriptor.java +++ b/src/main/java/javax/validation/metadata/PropertyDescriptor.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.metadata; /** diff --git a/src/main/java/javax/validation/metadata/ReturnValueDescriptor.java b/src/main/java/javax/validation/metadata/ReturnValueDescriptor.java index 4c444a03..3296e340 100644 --- a/src/main/java/javax/validation/metadata/ReturnValueDescriptor.java +++ b/src/main/java/javax/validation/metadata/ReturnValueDescriptor.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2012-2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.metadata; /** diff --git a/src/main/java/javax/validation/metadata/Scope.java b/src/main/java/javax/validation/metadata/Scope.java index 3ef84dfe..5458b520 100644 --- a/src/main/java/javax/validation/metadata/Scope.java +++ b/src/main/java/javax/validation/metadata/Scope.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.metadata; /** diff --git a/src/main/java/javax/validation/metadata/package-info.java b/src/main/java/javax/validation/metadata/package-info.java index c23f98da..37110df5 100644 --- a/src/main/java/javax/validation/metadata/package-info.java +++ b/src/main/java/javax/validation/metadata/package-info.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ /** * Package containing all objects specifically used and returned by the * metadata API. diff --git a/src/main/java/javax/validation/package-info.java b/src/main/java/javax/validation/package-info.java index 5ed31791..5817c8f4 100644 --- a/src/main/java/javax/validation/package-info.java +++ b/src/main/java/javax/validation/package-info.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ /** * Top level package of the Bean Validation API. * diff --git a/src/main/java/javax/validation/spi/BootstrapState.java b/src/main/java/javax/validation/spi/BootstrapState.java index 2cf2b586..418921f1 100644 --- a/src/main/java/javax/validation/spi/BootstrapState.java +++ b/src/main/java/javax/validation/spi/BootstrapState.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.spi; import javax.validation.Configuration; @@ -23,7 +13,7 @@ * Defines the state used to bootstrap the {@link Configuration}. * * @author Emmanuel Bernard - * @author Sebastian Thomschke + * @author Sebastian Thomschke */ public interface BootstrapState { @@ -38,7 +28,7 @@ public interface BootstrapState { /** * Specification default {@code ValidationProviderResolver} * strategy instance. - * + * * @return default implementation of ValidationProviderResolver */ ValidationProviderResolver getDefaultValidationProviderResolver(); diff --git a/src/main/java/javax/validation/spi/ConfigurationState.java b/src/main/java/javax/validation/spi/ConfigurationState.java index 21e17b27..e1bc5057 100755 --- a/src/main/java/javax/validation/spi/ConfigurationState.java +++ b/src/main/java/javax/validation/spi/ConfigurationState.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009-2012, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.spi; import java.io.InputStream; diff --git a/src/main/java/javax/validation/spi/ValidationProvider.java b/src/main/java/javax/validation/spi/ValidationProvider.java index aa112775..a39e36a0 100644 --- a/src/main/java/javax/validation/spi/ValidationProvider.java +++ b/src/main/java/javax/validation/spi/ValidationProvider.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2009, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.spi; import javax.validation.Configuration; diff --git a/src/main/java/javax/validation/spi/package-info.java b/src/main/java/javax/validation/spi/package-info.java index ca6fb00f..6a3acc4b 100644 --- a/src/main/java/javax/validation/spi/package-info.java +++ b/src/main/java/javax/validation/spi/package-info.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ /** * Package containing objects specific to the interaction between the * Bean Validation bootstrapping process and Bean Validation providers. diff --git a/src/main/scripts/gencopyright.sh b/src/main/scripts/gencopyright.sh index a35504f8..67af6be4 100755 --- a/src/main/scripts/gencopyright.sh +++ b/src/main/scripts/gencopyright.sh @@ -1,19 +1,9 @@ #!/bin/sh # -# JBoss, Home of Professional Open Source -# Copyright 2011-2013 Red Hat, Inc. and/or its affiliates, and individual contributors -# by the @authors tag. See the copyright.txt in the distribution for a -# full listing of individual contributors. +# Bean Validation API # -# 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. +# License: Apache License, Version 2.0 +# See the license.txt file in the root directory or . # # gencopyright.sh # diff --git a/src/main/xsd/validation-configuration-1.0.xsd b/src/main/xsd/validation-configuration-1.0.xsd index 0463dd8e..3efc2025 100644 --- a/src/main/xsd/validation-configuration-1.0.xsd +++ b/src/main/xsd/validation-configuration-1.0.xsd @@ -1,19 +1,9 @@ . + */ package javax.validation; import java.io.InputStream; diff --git a/src/test/java/javax/validation/ConstraintViolationExceptionTest.java b/src/test/java/javax/validation/ConstraintViolationExceptionTest.java index f5fa51ee..b0b265c8 100644 --- a/src/test/java/javax/validation/ConstraintViolationExceptionTest.java +++ b/src/test/java/javax/validation/ConstraintViolationExceptionTest.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2012, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; import java.util.HashSet; diff --git a/src/test/java/javax/validation/FooValidationProvider.java b/src/test/java/javax/validation/FooValidationProvider.java index af8f3df7..0c9ba655 100644 --- a/src/test/java/javax/validation/FooValidationProvider.java +++ b/src/test/java/javax/validation/FooValidationProvider.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2012, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; import java.io.InputStream; diff --git a/src/test/java/javax/validation/NonRegisteredValidationProvider.java b/src/test/java/javax/validation/NonRegisteredValidationProvider.java index c2b92570..36e98e98 100644 --- a/src/test/java/javax/validation/NonRegisteredValidationProvider.java +++ b/src/test/java/javax/validation/NonRegisteredValidationProvider.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2016, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; import java.io.InputStream; diff --git a/src/test/java/javax/validation/ValidationTest.java b/src/test/java/javax/validation/ValidationTest.java index 27a90a65..a94d9591 100644 --- a/src/test/java/javax/validation/ValidationTest.java +++ b/src/test/java/javax/validation/ValidationTest.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2012, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation; diff --git a/src/test/java/javax/validation/examples/ConstraintValidationNodeBuilderTest.java b/src/test/java/javax/validation/examples/ConstraintValidationNodeBuilderTest.java index e7c2a879..d0de9493 100644 --- a/src/test/java/javax/validation/examples/ConstraintValidationNodeBuilderTest.java +++ b/src/test/java/javax/validation/examples/ConstraintValidationNodeBuilderTest.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2012-2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.examples; import java.util.Map; diff --git a/src/test/java/javax/validation/examples/NodeTraversalTest.java b/src/test/java/javax/validation/examples/NodeTraversalTest.java index 510c6b9d..a056a967 100644 --- a/src/test/java/javax/validation/examples/NodeTraversalTest.java +++ b/src/test/java/javax/validation/examples/NodeTraversalTest.java @@ -1,19 +1,9 @@ /* -* JBoss, Home of Professional Open Source -* Copyright 2012-2013, Red Hat, Inc. and/or its affiliates, 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. -*/ + * Bean Validation API + * + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . + */ package javax.validation.examples; import java.util.Iterator; diff --git a/src/test/java/javax/validation/examples/ScriptAssertValidator.java b/src/test/java/javax/validation/examples/ScriptAssertValidator.java index 659fa9b5..014f3ff3 100644 --- a/src/test/java/javax/validation/examples/ScriptAssertValidator.java +++ b/src/test/java/javax/validation/examples/ScriptAssertValidator.java @@ -1,18 +1,8 @@ /* - * JBoss, Home of Professional Open Source - * Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual contributors - * by the @authors tag. See the copyright.txt in the distribution for a - * full listing of individual contributors. + * Bean Validation API * - * 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. + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . */ package javax.validation.examples; diff --git a/src/test/java/javax/validation/examples/metadata/Author.java b/src/test/java/javax/validation/examples/metadata/Author.java index 757acc0c..fbd74a15 100644 --- a/src/test/java/javax/validation/examples/metadata/Author.java +++ b/src/test/java/javax/validation/examples/metadata/Author.java @@ -1,18 +1,8 @@ /* - * JBoss, Home of Professional Open Source - * Copyright 2009-2013, Red Hat, Inc. and/or its affiliates, and individual contributors - * by the @authors tag. See the copyright.txt in the distribution for a - * full listing of individual contributors. + * Bean Validation API * - * 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. + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . */ package javax.validation.examples.metadata; @@ -23,7 +13,7 @@ */ public class Author { private String firstName; - + @NotEmpty(message="lastname must not be null") private String lastName; diff --git a/src/test/java/javax/validation/examples/metadata/Book.java b/src/test/java/javax/validation/examples/metadata/Book.java index b114d636..692206f6 100644 --- a/src/test/java/javax/validation/examples/metadata/Book.java +++ b/src/test/java/javax/validation/examples/metadata/Book.java @@ -1,18 +1,8 @@ /* - * JBoss, Home of Professional Open Source - * Copyright 2009-2013, Red Hat, Inc. and/or its affiliates, and individual contributors - * by the @authors tag. See the copyright.txt in the distribution for a - * full listing of individual contributors. + * Bean Validation API * - * 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. + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . */ package javax.validation.examples.metadata; @@ -30,7 +20,7 @@ public class Book { public interface FirstLevelCheck {} public interface SecondLevelCheck {} - + private String title; private String description; @@ -40,17 +30,17 @@ public interface SecondLevelCheck {} @Valid public Book( - String title, - @Size(max=30) String description, + String title, + @Size(max=30) String description, @Valid @ConvertGroup(from=Default.class, to=SecondLevelCheck.class) Author author) { //[...] } - + public Book() { //[...] } - + @NotEmpty(groups={FirstLevelCheck.class, Default.class}) @Size(max=30) public String getTitle() { @@ -76,7 +66,7 @@ public String getDescription() { public void setAuthor(String description) { this.description = description; } - + @ValidInterval(startParameter=1, endParameter=2) public void addChapter(String title, int startPage, int endPage) { //[...] diff --git a/src/test/java/javax/validation/examples/metadata/MetaDataApiTest.java b/src/test/java/javax/validation/examples/metadata/MetaDataApiTest.java index d2ab34b0..94fbe61b 100644 --- a/src/test/java/javax/validation/examples/metadata/MetaDataApiTest.java +++ b/src/test/java/javax/validation/examples/metadata/MetaDataApiTest.java @@ -1,18 +1,8 @@ /* - * JBoss, Home of Professional Open Source - * Copyright 2009-2013, Red Hat, Inc. and/or its affiliates, and individual contributors - * by the @authors tag. See the copyright.txt in the distribution for a - * full listing of individual contributors. + * Bean Validation API * - * 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. + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . */ package javax.validation.examples.metadata; @@ -59,10 +49,10 @@ public void testMeta() { assert bookDescriptor.getConstrainedProperties().size() == 2; //not a property - assert bookDescriptor.getConstraintsForProperty("doesNotExist") == null; + assert bookDescriptor.getConstraintsForProperty("doesNotExist") == null; //property with no constraint - assert bookDescriptor.getConstraintsForProperty("description") == null; + assert bookDescriptor.getConstraintsForProperty("description") == null; PropertyDescriptor propertyDescriptor = bookDescriptor.getConstraintsForProperty("title"); assert propertyDescriptor.getConstraintDescriptors().size() == 2; @@ -83,7 +73,7 @@ public void testMeta() { notNullPresence = true; } } - assert notNullPresence; + assert notNullPresence; //assuming the implementation returns the Size constraint second constraintDescriptor = propertyDescriptor.getConstraintDescriptors().iterator().next(); @@ -102,7 +92,7 @@ public void testMeta() { assert bookDescriptor.getConstrainedConstructors().size() == 1; ConstructorDescriptor constructorDescriptor = bookDescriptor.getConstraintsForConstructor( - String.class, String.class, Author.class + String.class, String.class, Author.class ); assert constructorDescriptor.getName().equals( "Book" ); assert constructorDescriptor.getElementClass() == Book.class; diff --git a/src/test/java/javax/validation/examples/metadata/NotEmpty.java b/src/test/java/javax/validation/examples/metadata/NotEmpty.java index 1d2c1a59..ea0f6983 100644 --- a/src/test/java/javax/validation/examples/metadata/NotEmpty.java +++ b/src/test/java/javax/validation/examples/metadata/NotEmpty.java @@ -1,18 +1,8 @@ /* - * JBoss, Home of Professional Open Source - * Copyright 2009-2013, Red Hat, Inc. and/or its affiliates, and individual contributors - * by the @authors tag. See the copyright.txt in the distribution for a - * full listing of individual contributors. + * Bean Validation API * - * 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. + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . */ package javax.validation.examples.metadata; diff --git a/src/test/java/javax/validation/examples/metadata/ValidInterval.java b/src/test/java/javax/validation/examples/metadata/ValidInterval.java index 174ef3cf..03a21320 100644 --- a/src/test/java/javax/validation/examples/metadata/ValidInterval.java +++ b/src/test/java/javax/validation/examples/metadata/ValidInterval.java @@ -1,18 +1,8 @@ /* - * JBoss, Home of Professional Open Source - * Copyright 2009-2013, Red Hat, Inc. and/or its affiliates, and individual contributors - * by the @authors tag. See the copyright.txt in the distribution for a - * full listing of individual contributors. + * Bean Validation API * - * 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. + * License: Apache License, Version 2.0 + * See the license.txt file in the root directory or . */ package javax.validation.examples.metadata; @@ -51,7 +41,7 @@ @SupportedValidationTarget(ValidationTarget.PARAMETERS) class Validator implements ConstraintValidator { - + private int start; private int end; @@ -63,7 +53,7 @@ public void initialize(ValidInterval constraintAnnotation) { @Override public boolean isValid(Object[] value, ConstraintValidatorContext context) { - return Integer.parseInt( String.valueOf( value[start] ) ) < + return Integer.parseInt( String.valueOf( value[start] ) ) < Integer.parseInt( String.valueOf( value[end] ) ); } }