<commit_before>package edu.tamu.framework;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.net.URL;
import java.nio.charset.Charset;
import java.util.jar.Manifest;

import org.springframework.boot.Banner;
import org.springframework.boot.ansi.AnsiElement;
import org.springframework.boot.ansi.AnsiOutput;
import org.springframework.core.env.Environment;
import org.springframework.core.io.DefaultResourceLoader;
import org.springframework.core.io.ResourceLoader;
import org.springframework.stereotype.Component;

@Component
public class CoreSpringBanner implements Banner {
	
    private static final String BOOT = " :: 01010110 01101001 01110010 01100101 01101111 :: ";

    private static final int STRAP_LINE_SIZE = 42;
    
    @Override
    public void printBanner(Environment environment, Class<?> sourceClass, PrintStream out) {
    	
    	ResourceLoader resourceLoader = new DefaultResourceLoader();
    	
    	try (
			InputStream bannerInputStream = resourceLoader.getResource("classpath:config/banner.txt").getInputStream();
			InputStreamReader inputStreamReader = new InputStreamReader(bannerInputStream, Charset.forName("UTF-8"));
			BufferedReader bufferReader = new BufferedReader(inputStreamReader);<commit_msg>Update banner binary to WEAVER.<commit_after>package edu.tamu.framework;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.net.URL;
import java.nio.charset.Charset;
import java.util.jar.Manifest;

import org.springframework.boot.Banner;
import org.springframework.boot.ansi.AnsiElement;
import org.springframework.boot.ansi.AnsiOutput;
import org.springframework.core.env.Environment;
import org.springframework.core.io.DefaultResourceLoader;
import org.springframework.core.io.ResourceLoader;
import org.springframework.stereotype.Component;

@Component
public class CoreSpringBanner implements Banner {
	
    private static final String BOOT = " :: 01010111 01100101 01100001 01110110 01100101 01110010 :: ";

    private static final int STRAP_LINE_SIZE = 42;
    
    @Override
    public void printBanner(Environment environment, Class<?> sourceClass, PrintStream out) {
    	
    	ResourceLoader resourceLoader = new DefaultResourceLoader();
    	
    	try (
			InputStream bannerInputStream = resourceLoader.getResource("classpath:config/banner.txt").getInputStream();
			InputStreamReader inputStreamReader = new InputStreamReader(bannerInputStream, Charset.forName("UTF-8"));
			BufferedReader bufferReader = new BufferedReader(inputStreamReader);
{'fraction_non_alphanumeric': 0.08822443706164636, 'fraction_numerical': 0.034699150978220746, 'mean_word_length': 5.593673965936739, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2012163', 'n_tokens_mistral': 829, 'n_tokens_neox': 749, 'n_words': 164}