private void validate()

in apache-rat-tasks/src/main/java/org/apache/rat/anttasks/FullTextLicenseMatcher.java [54:69]


    private void validate() {
        if (!validated) {
            validated  = true;
            if (!hasFullText()) {
                throw new BuildException("You must specify the text to match.");
            }
            if (getLicenseFamilyCategory() == null) {
                throw new BuildException("The licenseFamilyCategory attribute"
                                         + " is required.");
            }
            if (getLicenseFamilyName() == null) {
                throw new BuildException("The licenseFamilyName attribute"
                                         + " is required.");
            }
        }
    }