<commit_before>#!/usr/bin/env bash

set -ev

# Workaround to using openjdk7 with Gradle due to security issue:
# https://github.com/gradle/gradle/issues/2421
if [ $TRAVIS_JDK_VERSION == "openjdk7" ]; then
    readonly BCPROV_FILENAME=bcprov-ext-jdk15on-158.jar
    wget "https://bouncycastle.org/download/${BCPROV_FILENAME}"
    sudo mv $BCPROV_FILENAME /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext
    sudo perl -pi.bak -e 's/^(security\.provider\.)([0-9]+)/$1.($2+1)/ge' /etc/java-7-openjdk/security/java.security
    echo "security.provider.1=org.bouncycastle.jce.provider.BouncyCastleProvider" | sudo tee -a /etc/java-7-openjdk/security/java.security
fi<commit_msg>Rebuild on Travis for fix errors on JDK7<commit_after>#!/usr/bin/env bash

set -ev

# Workaround to using openjdk7 with Gradle due to security issue:
# https://github.com/gradle/gradle/issues/2421
if [ $TRAVIS_JDK_VERSION == "openjdk7" ]; then
    readonly BCPROV_FILENAME=bcprov-ext-jdk15on-158.jar
    wget "https://bouncycastle.org/download/${BCPROV_FILENAME}"
    sudo mv $BCPROV_FILENAME /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext
    sudo perl -pi.bak -e 's/^(security\.provider\.)([0-9]+)/$1.($2+1)/ge' /etc/java-7-openjdk/security/java.security
    echo "security.provider.1=org.bouncycastle.jce.provider.BouncyCastleProvider" | sudo tee -a /etc/java-7-openjdk/security/java.security
fi

rm -fr $HOME/.groovy/grapes/
rm -fr ../templates/maven-quickstart/.lazybones/repo
{'fraction_non_alphanumeric': 0.1579310344827586, 'fraction_numerical': 0.03103448275862069, 'mean_word_length': 4.02076124567474, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '86194', 'n_tokens_mistral': 624, 'n_tokens_neox': 574, 'n_words': 92}