<commit_before>package org.jboss.aesh.console.reader;

import java.io.BufferedInputStream;

/**
 * Pipes the standard input and standard error
 * to the current running command
 *
 * @author <a href="mailto:<EMAIL>"><NAME></a>
 */
public class AeshStandardStream {

    private BufferedInputStream stdIn;
    private BufferedInputStream stdError;

    public AeshStandardStream() {
    }

    public AeshStandardStream(BufferedInputStream stdIn) {
        this.stdIn = stdIn;
    }<commit_msg>make sure neither stdin/stderr is ever null<commit_after>package org.jboss.aesh.console.reader;

import java.io.BufferedInputStream;

/**
 * Pipes the standard input and standard error
 * to the current running command
 *
 * @author <a href="mailto:<EMAIL>"><NAME></a>
 */
public class AeshStandardStream {

    private BufferedInputStream stdIn;
    private BufferedInputStream stdError;

    public AeshStandardStream() {
        stdIn = new BufferedInputStream(null);
        stdError = new BufferedInputStream(null);
    }

    public AeshStandardStream(BufferedInputStream stdIn) {
        this.stdIn = stdIn;
        stdError = new BufferedInputStream(null);
    }
{'fraction_non_alphanumeric': 0.0937231298366294, 'fraction_numerical': 0.0, 'mean_word_length': 3.85, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '4230671', 'n_tokens_mistral': 338, 'n_tokens_neox': 328, 'n_words': 85}