<commit_before>package org.graylog2;

import org.graylog2.log4j2.GelfConsoleAppender.Target;

import java.io.*;
import java.nio.charset.Charset;

public class GelfConsoleSender implements GelfSender {

    public Target target;

    public GelfConsoleSender(Target t) {
		this.target = t;
	}

	public boolean sendMessage(GelfMessage message) {
		return message.isValid() && AppendToConsole(message.toJson() + "\n");
	}

    public void close() {
        //We can never close stdout/stderr.
    }

    private boolean AppendToConsole(String message) {
        final String enc = Charset.defaultCharset().name();

        PrintStream printStream = null;<commit_msg>fix(style): Fixing indendation<commit_after>package org.graylog2;

import org.graylog2.log4j2.GelfConsoleAppender.Target;

import java.io.*;
import java.nio.charset.Charset;

public class GelfConsoleSender implements GelfSender {

    public Target target;

    public GelfConsoleSender(Target t) {
        this.target = t;
    }

    public boolean sendMessage(GelfMessage message) {
        return message.isValid() && AppendToConsole(message.toJson() + "\n");
    }

    public void close() {
        //We can never close stdout/stderr.
    }

    private boolean AppendToConsole(String message) {
        final String enc = Charset.defaultCharset().name();

        PrintStream printStream = null;
{'fraction_non_alphanumeric': 0.10043988269794721, 'fraction_numerical': 0.005865102639296188, 'mean_word_length': 3.4901315789473686, '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': '1882005', 'n_tokens_mistral': 409, 'n_tokens_neox': 399, 'n_words': 97}