<commit_before>package com.taobao.teaey.feva.common;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;

/**
 * @author teaey <EMAIL>
 * @date 2014-10-19
 * @since 1.0.0.0
 */
public class Debug {
    public static final String readLine(InputStream in) throws IOException {
        BufferedReader r = new BufferedReader(new InputStreamReader(in));
        String ret = null;
        try {
            ret = r.readLine();
        } finally {
            r.close();
        }
        return ret;
    }

    public static final Integer readLineForInteger(InputStream in) throws IOException {
        String str = readLine(in);
        return Integer.valueOf(str);
    }

    public static final Long readLineForLong(InputStream in) throws IOException {
        String str = readLine(in);
        return Long.valueOf(str);
    }

    public static final Float readLineForFloat(InputStream in) throws IOException {
        String str = readLine(in);
        return Float.valueOf(str);
    }

    public static final Double readLineForDouble(InputStream in) throws IOException {
        String str = readLine(in);
        return Double.valueOf(str);
    }<commit_msg>not close System.in after readed<commit_after>package com.taobao.teaey.feva.common;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;

/**
 * @author teaey <EMAIL>
 * @date 2014-10-19
 * @since 1.0.0.0
 */
public class Debug {
    public static final String readLine(InputStream in) throws IOException {
        BufferedReader r = new BufferedReader(new InputStreamReader(in));
        return r.readLine();
    }

    public static final Integer readLineForInteger(InputStream in) throws IOException {
        String str = readLine(in);
        return Integer.valueOf(str);
    }

    public static final Long readLineForLong(InputStream in) throws IOException {
        String str = readLine(in);
        return Long.valueOf(str);
    }

    public static final Float readLineForFloat(InputStream in) throws IOException {
        String str = readLine(in);
        return Float.valueOf(str);
    }

    public static final Double readLineForDouble(InputStream in) throws IOException {
        String str = readLine(in);
        return Double.valueOf(str);
    }
{'fraction_non_alphanumeric': 0.09087066779374471, 'fraction_numerical': 0.01014370245139476, 'mean_word_length': 2.951585976627713, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2652975', 'n_tokens_mistral': 663, 'n_tokens_neox': 639, 'n_words': 186}