<commit_before>package Constants;

import javax.swing.JOptionPane;

/**
 *
 * @author Dragos-Alexandru
 */
public interface MasterServerConstants {
    String MASTER_USERNAME = "BattleAIMS";
    String IP = JOptionPane.showInputDialog(null, "Master Server IP: ", "MS - IP", JOptionPane.INFORMATION_MESSAGE);
    int PORT = 60010;
    long PACKET_DELAY = 3000; // expressed in milliseconds
}<commit_msg>Made it work with travis.<commit_after>package Constants;

import javax.swing.JOptionPane;

/**
 *
 * @author Dragos-Alexandru
 */
public interface MasterServerConstants {
    String MASTER_USERNAME = "BattleAIMS";
    String IP = getIP();
    int PORT = 60010;
    long PACKET_DELAY = 3000; // expressed in milliseconds
    
    public static String getIP(){
        if(System.getenv().get("TRAVIS") != null){
            return "localhost";
        }else{
            return JOptionPane.showInputDialog(null, "Master Server IP: ",
                    "MS - IP", JOptionPane.INFORMATION_MESSAGE);
        }
    }
    
}
{'fraction_non_alphanumeric': 0.11056751467710371, 'fraction_numerical': 0.01761252446183953, 'mean_word_length': 3.02755905511811, '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': '5106659', 'n_tokens_mistral': 327, 'n_tokens_neox': 307, 'n_words': 75}