<commit_before>#!/bin/bash

function install()
{
    # Clean Up

    rm -rf "${installFolder}"
    mkdir -p "${installFolder}"

    # Install

    unzipRemoteFile "${downloadURL}" "${installFolder}"

    # Config Lib

    chown -R "$(whoami)":"$(whoami)" "${installFolder}"
    ln -s "${installFolder}/bin/java" '/usr/local/bin/java'
    ln -s "${installFolder}/bin/javac" '/usr/local/bin/javac'

    # Config Profile

    local profileConfigData=('__INSTALL_FOLDER__' "${installFolder}")

    createFileFromTemplate "${appPath}/../files/profile/jdk.sh" '/etc/profile.d/jdk.sh' "${profileConfigData[@]}"
}<commit_msg>clean up when starting installation<commit_after>#!/bin/bash

function install()
{
    # Clean Up

    rm -rf "${installFolder}" '/usr/local/bin/java' '/usr/local/bin/javac'
    mkdir -p "${installFolder}"

    # Install

    unzipRemoteFile "${downloadURL}" "${installFolder}"

    # Config Lib

    chown -R "$(whoami)":"$(whoami)" "${installFolder}"
    ln -s "${installFolder}/bin/java" '/usr/local/bin/java'
    ln -s "${installFolder}/bin/javac" '/usr/local/bin/javac'

    # Config Profile

    local profileConfigData=('__INSTALL_FOLDER__' "${installFolder}")

    createFileFromTemplate "${appPath}/../files/profile/jdk.sh" '/etc/profile.d/jdk.sh' "${profileConfigData[@]}"
}
{'fraction_non_alphanumeric': 0.1921598770176787, 'fraction_numerical': 0.0, 'mean_word_length': 3.700361010830325, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '108130', 'n_tokens_mistral': 448, 'n_tokens_neox': 418, 'n_words': 82}