<commit_before>package com.brewtab.irc.client;

import com.brewtab.irc.impl.ClientFactoryImpl;

public abstract class ClientFactory {
    public static final int DEFAULT_PORT = 6667;
    public static final int DEFAULT_SSL_PORT = 6697;

    public static final String DEFAULT_USERNAME = "irc-client";
    public static final String DEFAULT_HOSTNAME = "localhost";
    public static final String DEFAULT_REALNAME = "Brewtab IRC Client";

    public abstract void setUsername(String username);

    public abstract void setHostname(String hostname);

    public abstract void setRealName(String realName);

    public abstract void setNick(String nick);

    public abstract Client connect(String uri);

    public abstract Client connect(String uri, String password);

    public static ClientFactory newInstance() {
        return ClientFactoryImpl.newInstance();
    }
}<commit_msg>Remove '-' from default username which some servers don't accept.<commit_after>package com.brewtab.irc.client;

import com.brewtab.irc.impl.ClientFactoryImpl;

public abstract class ClientFactory {
    public static final int DEFAULT_PORT = 6667;
    public static final int DEFAULT_SSL_PORT = 6697;

    public static final String DEFAULT_USERNAME = "ircclient";
    public static final String DEFAULT_HOSTNAME = "localhost";
    public static final String DEFAULT_REALNAME = "Brewtab IRC Client";

    public abstract void setUsername(String username);

    public abstract void setHostname(String hostname);

    public abstract void setRealName(String realName);

    public abstract void setNick(String nick);

    public abstract Client connect(String uri);

    public abstract Client connect(String uri, String password);

    public static ClientFactory newInstance() {
        return ClientFactoryImpl.newInstance();
    }
}
{'fraction_non_alphanumeric': 0.06604292790313704, 'fraction_numerical': 0.008805723720418272, 'mean_word_length': 4.331378299120234, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '938222', 'n_tokens_mistral': 480, 'n_tokens_neox': 439, 'n_words': 164}