<commit_before>package org.mache;

import com.codeaffine.test.ConditionalIgnoreRule;

public abstract class TestEnvironmentPortCheckIgnoreCondition implements ConditionalIgnoreRule.IgnoreCondition
{
    public TestEnvironmentPortCheckIgnoreCondition(int port)
    {
        if(new NotRunningInExcelian().isSatisfied()) {
            if (PortCheck.PortAccessible("localhost", port)) {
                hostName = "localhost";
                FOUND_IT = true;
            }
        }
        else {
            hostName = "10.28.1.140";// internal test environment - we don't check port as we'd like to fail if service is down
            FOUND_IT = true;
        }
    }

    private static String hostName="not-set";
    private boolean FOUND_IT=false;

    public static String HostName(){
        return hostName;
    }
    public boolean isSatisfied(){
        return !FOUND_IT;
    }
}<commit_msg>renamed variable as no longer static<commit_after>package org.mache;

import com.codeaffine.test.ConditionalIgnoreRule;

public abstract class TestEnvironmentPortCheckIgnoreCondition implements ConditionalIgnoreRule.IgnoreCondition
{
    public TestEnvironmentPortCheckIgnoreCondition(int port)
    {
        if(new NotRunningInExcelian().isSatisfied()) {
            if (PortCheck.PortAccessible("localhost", port)) {
                hostName = "localhost";
                hostPresent = true;
            }
        }
        else {
            hostName = "10.28.1.140";// internal test environment - we don't check port as we'd like to fail if service is down
            hostPresent = true;
        }
    }

    private static String hostName="not-set";
    private boolean hostPresent =false;

    public static String HostName(){
        return hostName;
    }
    public boolean isSatisfied(){
        return !hostPresent;
    }
}
{'fraction_non_alphanumeric': 0.08169934640522876, 'fraction_numerical': 0.008714596949891068, 'mean_word_length': 2.499047619047619, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '4557308', 'n_tokens_mistral': 499, 'n_tokens_neox': 471, 'n_words': 128}