<commit_before>/*
 * Configuration for a Lookup Service
 */
import org.rioproject.config.Component
import org.rioproject.config.Constants
import net.jini.export.Exporter
import org.rioproject.net.HostUtil

@Component('com.sun.jini.reggie')
class ReggieConfig {
    //int initialUnicastDiscoveryPort = 10500

    String[] getInitialMemberGroups() {
        def groups = [System.getProperty(Constants.GROUPS_PROPERTY_NAME,
                                         System.getProperty('user.name'))]
        return groups as String[]
    }

    String getUnicastDiscoveryHost() {
        return HostUtil.getHostAddressFromProperty("java.rmi.server.hostname")
    }

    Exporter getServerExporter() {
        return ExporterConfig.getDefaultExporter()
    }
}<commit_msg>Extend ExporterConfiguration<commit_after>/*
 * Configuration for a Lookup Service
 */
import org.rioproject.config.Component
import org.rioproject.config.Constants
import net.jini.export.Exporter
import org.rioproject.net.HostUtil

@Component('com.sun.jini.reggie')
class ReggieConfig {
    //int initialUnicastDiscoveryPort = 10500

    String[] getInitialMemberGroups() {
        def groups = [System.getProperty(Constants.GROUPS_PROPERTY_NAME,
                                         System.getProperty('user.name'))]
        return groups as String[]
    }

    String getUnicastDiscoveryHost() {
        return HostUtil.getHostAddressFromProperty("java.rmi.server.hostname")
    }

    Exporter getServerExporter() {
        return ExporterConfiguration.getDefaultExporter()
    }
}
{'fraction_non_alphanumeric': 0.09511568123393316, 'fraction_numerical': 0.006426735218508998, 'mean_word_length': 3.208108108108108, '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': '1678610', 'n_tokens_mistral': 445, 'n_tokens_neox': 437, 'n_words': 77}