package org.eclipse.persistence.testing.jaxb.beanvalidation.special;

import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;

/**
* ****************************************************************************
* Copyright (c) 2014, 2015  Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
* which accompanies this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
* and the Eclipse Distribution License is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
* <p/>
* Contributors:
* Marcel Valovy - initial API and implementation
* ****************************************************************************
*/
public class CustomAnnotationValidator implements ConstraintValidator<CustomAnnotation, Integer> {

    @Override
    public void initialize(CustomAnnotation constraintAnnotation) {

    }

    @Override
    public boolean isValid(Integer object, ConstraintValidatorContext constraintContext) {
        return false;
    }
}

@@ -1,176 +1,9 @@
-package org.eclipse.persistence.testing.jaxb.beanvalidation.special;%0A%0Aimport javax.validation.ConstraintValidator;%0Aimport javax.validation.ConstraintValidatorContext;%0A%0A
 /**%0A
+ 
 * **
@@ -77,16 +77,17 @@
 *******%0A
+ 
 * Copyri
@@ -157,16 +157,17 @@
 served.%0A
+ 
 * This p
@@ -233,16 +233,17 @@
 der the%0A
+ 
 * terms 
@@ -317,16 +317,17 @@
  v. 1.0%0A
+ 
 * which 
@@ -357,16 +357,17 @@
 bution.%0A
+ 
 * The Ec
@@ -445,16 +445,17 @@
 10.html%0A
+ 
 * and th
@@ -501,16 +501,17 @@
 able at%0A
+ 
 * http:/
@@ -558,15 +558,17 @@
 hp.%0A
+ 
 * %3Cp/%3E%0A
+ 
 * Co
@@ -579,16 +579,17 @@
 butors:%0A
+ 
 * Marcel
@@ -629,16 +629,17 @@
 ntation%0A
+ 
 * ******
@@ -709,16 +709,218 @@
 *******%0A
+ */%0Apackage org.eclipse.persistence.testing.jaxb.beanvalidation.special;%0A%0Aimport javax.validation.ConstraintValidator;%0Aimport javax.validation.ConstraintValidatorContext;%0A%0A/**%0A * @author Marcel Valovy%0A 
 */%0Apubli

Fix of license header. P.S. Last two commits (fa1eb4, de784f) were reviewed by M. Grebac, M. Vojtek