<commit_before>package org.globus.security.filestore;

import java.security.KeyStore;

/**
 * Created by IntelliJ IDEA.
 * User: turtlebender
 * Date: Oct 14, 2009
 * Time: 3:54:08 PM
 * To change this template use File | Settings | File Templates.
 */
public class FileBasedKeyStoreParameters implements KeyStore.LoadStoreParameter{
    private String[] certDirs;
    private String defaultCertDir;

    public FileBasedKeyStoreParameters() {
    }

    public FileBasedKeyStoreParameters(String[] certDirs, String defaultCertDir) {
        this.certDirs = certDirs;
        this.defaultCertDir = defaultCertDir;
    }

    public KeyStore.ProtectionParameter getProtectionParameter() {
        return null;
    }

    public String[] getCertDirs() {
        return certDirs;
    }

    public void setCertDirs(String[] certDirs) {
        this.certDirs = certDirs;
    }

    public String getDefaultCertDir() {
        return defaultCertDir;
    }

    public void setDefaultCertDir(String defaultCertDir) {
        this.defaultCertDir = defaultCertDir;
    }
}
<commit_msg>parameters for keystore<commit_after>package org.globus.security.filestore;

import java.security.KeyStore;

/**
 * Created by IntelliJ IDEA. User: turtlebender Date: Oct 14, 2009 Time: 3:54:08
 * PM To change this template use File | Settings | File Templates.
 */
public class FileBasedKeyStoreParameters
    implements KeyStore.LoadStoreParameter {

    private String[] certDirs;
    private String defaultCertDir;
    private String userCertFilename;
    private String userKeyFilename;
    private KeyStore.ProtectionParameter protectionParameter;
    private String proxyFilename;

    public FileBasedKeyStoreParameters() {
    }

    public FileBasedKeyStoreParameters(String[] certDirs,
                                       String defaultCertDir) {
        this.certDirs = certDirs;
        this.defaultCertDir = defaultCertDir;

    }

    public FileBasedKeyStoreParameters(String[] certDirs_, String defaultCertDir_,
                                       String userCertFilename_, String userKeyFilename_,
                                       KeyStore.ProtectionParameter protectionParameter_) {
        this(certDirs_, defaultCertDir_);
        this.userCertFilename = userCertFilename_;
        this.userKeyFilename = userKeyFilename_;
        this.protectionParameter = protectionParameter_;
    }

    public FileBasedKeyStoreParameters(String[] certDirs_, String defaultCertDir_,
                                       String proxyFilename_) {
        this(certDirs_, defaultCertDir_);
        this.proxyFilename = proxyFilename_;
    }

    public KeyStore.ProtectionParameter getProtectionParameter() {
        return this.protectionParameter;
    }

    public String[] getCertDirs() {
        return certDirs;
    }

    public void setCertDirs(String[] certDirs) {
        this.certDirs = certDirs;
    }

    public String getDefaultCertDir() {
        return defaultCertDir;
    }

    public String getUserCertFilename() {
        return this.userCertFilename;
    }

    public String getUserKeyFilename() {
        return this.userKeyFilename;
    }

    public String getProxyFilename() {
        return this.proxyFilename;
    }

    // Why is this a mutable class?
    public void setDefaultCertDir(String defaultCertDir) {
        this.defaultCertDir = defaultCertDir;
    }
}

{'fraction_non_alphanumeric': 0.07048068416396343, 'fraction_numerical': 0.006487761722205839, 'mean_word_length': 2.798432250839866, 'pattern_counts': {'":': 0, '<': 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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3961495', 'n_tokens_mistral': 930, 'n_tokens_neox': 878, 'n_words': 215}