<commit_before>package com.feicent.zhang.util;

import java.io.Closeable;
import java.io.IOException;
import java.net.Socket;

public class CloseUtil {
	
	/**
	 * 关闭资源
	 * @param closeables
	 */
	public static void close(Closeable... closeables){
		if( closeables != null )
		{
			for(Closeable closeable : closeables){
				if(closeable != null){
					try {
						closeable.close();
					} catch (IOException e) {
						//igonre
					}
				}
			}
		}
	}
	
	/**
	 * 关闭soccket
	 * @param socket
	 */
	public static void closeSocket(Socket socket){
		if(socket != null){
			try {
				socket.close();
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
	}
}<commit_msg>CloseUtil<commit_after>package com.feicent.zhang.util;

import java.io.Closeable;
import java.io.IOException;
import java.net.Socket;

public class CloseUtil {

	/**
	 * 关闭资源
	 * @param closeables
	 */
	public static void close(final Closeable... closeables) {
        if (closeables == null) {
            return;
        }
        for (final Closeable closeable : closeables) {
            closeQuietly(closeable);
        }
    }

	public static void closeQuietly(final Closeable closeable) {
        try {
            if (closeable != null) {
                closeable.close();
            }
        } catch (final IOException ioe) {
            // ignore
        }
    }

	/**
	 * 关闭soccket
	 * @param socket
	 */
	public static void closeSocket(final Socket socket){
		if(socket != null){
			try {
				socket.close();
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
	}

}
{'fraction_non_alphanumeric': 0.125, 'fraction_numerical': 0.0, 'mean_word_length': 2.16969696969697, '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': '4148004', 'n_tokens_mistral': 587, 'n_tokens_neox': 507, 'n_words': 112}