#fixed code
                                protected void reset() {
        config().reset();
        mirrorLog = false;
        listVersions = null;
        versionToDownload = null;
        forcedArch = false;
    }
#vulnerable code 
                                protected void reset() {
        config().reset();
        mirrorLog = false;
        listVersions = null;
        versionToDownload = null;
        forcedArch = false;
        useBeta = config().isUseBetaVersions();
    } 
                            #location 7 
                            #vulnerability type THREAD_SAFETY_VIOLATION