<commit_before>package uk.ac.ebi.quickgo.annotation.validation;

import uk.ac.ebi.quickgo.common.validator.GeneProductIDValidator;

import java.lang.annotation.*;
import javax.validation.Constraint;
import javax.validation.Payload;

/**
 * Annotation that allows a list of strings, separated by commas to be validated as Gene Product IDs
 * @author <NAME>
 * Date: 14/06/2016
 * Time: 12:03
 * Created with IntelliJ IDEA.
 */

@Constraint(validatedBy = DBXRefEntityValidation.class)
@Documented
@Target({ElementType.METHOD,
        ElementType.FIELD,
        ElementType.ANNOTATION_TYPE,
        ElementType.CONSTRUCTOR,
        ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
public @interface WithFromValidator {

    String message() default "The with/from value is invalid";

    Class<?>[] groups() default {};

    Class<? extends Payload>[] payload() default {};
}
<commit_msg>Don't refer to DB Xref validation in  validatedBy class.<commit_after>package uk.ac.ebi.quickgo.annotation.validation;

import java.lang.annotation.*;
import javax.validation.Constraint;
import javax.validation.Payload;

/**
 * Annotation that allows a list of strings, separated by commas to be validated as Gene Product IDs
 * @author <NAME>
 * Date: 14/06/2016
 * Time: 12:03
 * Created with IntelliJ IDEA.
 */

@Constraint(validatedBy = WithFromValuesValidation.class)
@Documented
@Target({ElementType.METHOD,
        ElementType.FIELD,
        ElementType.ANNOTATION_TYPE,
        ElementType.CONSTRUCTOR,
        ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
public @interface WithFromValidator {

    String message() default "The with/from value is invalid";

    Class<?>[] groups() default {};

    Class<? extends Payload>[] payload() default {};
}

{'fraction_non_alphanumeric': 0.11016949152542373, 'fraction_numerical': 0.013559322033898305, 'mean_word_length': 4.3343373493975905, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2148845', 'n_tokens_mistral': 531, 'n_tokens_neox': 505, 'n_words': 136}