<commit_before>package de.haw.rnp.chat.util;

import java.net.InetAddress;
import java.net.UnknownHostException;

public class AddressType {

    private InetAddress ip;
    private int port;

    public AddressType(InetAddress ip, int port){
        this.ip = ip;
        this.port = port;
    }

    public AddressType(String ip, int port){
        try {
            this.ip = InetAddress.getByName(ip);
        } catch (UnknownHostException e) {
            e.printStackTrace();
        }
        this.port = port;
    }
}
<commit_msg>added getter to address type<commit_after>package de.haw.rnp.chat.util;

import java.net.InetAddress;
import java.net.UnknownHostException;

public class AddressType {

    private InetAddress ip;
    private int port;

    public AddressType(InetAddress ip, int port){
        this.ip = ip;
        this.port = port;
    }

    public AddressType(String ip, int port){
        try {
            this.ip = InetAddress.getByName(ip);
        } catch (UnknownHostException e) {
            e.printStackTrace();
        }
        this.port = port;
    }

    public InetAddress getIp() {
        return ip;
    }

    public int getPort() {
        return port;
    }
}

{'fraction_non_alphanumeric': 0.09626556016597511, 'fraction_numerical': 0.0, 'mean_word_length': 2.1488250652741514, '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': '4377668', 'n_tokens_mistral': 370, 'n_tokens_neox': 361, 'n_words': 90}