<commit_before>package de.chandre.admintool;

import org.apache.commons.lang3.StringUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.jminix.console.servlet.MiniConsoleServlet;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.embedded.ServletRegistrationBean;
import org.springframework.boot.context.web.SpringBootServletInitializer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.env.Environment;

/**
 * Servlet initializer for JMiniX (JMX) Servlet
 *  
 * @author adhr
 *
 */
@Configuration
public class JMiniXConfiguration extends SpringBootServletInitializer
{
	private static final Logger LOGGER = LogManager.getFormatterLogger(JMiniXConfiguration.class);<commit_msg>fix application context started twice in tomcat<commit_after>package de.chandre.admintool;

import org.apache.commons.lang3.StringUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.jminix.console.servlet.MiniConsoleServlet;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.embedded.ServletRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.env.Environment;

/**
 * Servlet initializer for JMiniX (JMX) Servlet
 *  
 * @author adhr
 *
 */
@Configuration
public class JMiniXConfiguration
{
	private static final Logger LOGGER = LogManager.getFormatterLogger(JMiniXConfiguration.class);
{'fraction_non_alphanumeric': 0.09136490250696379, 'fraction_numerical': 0.003342618384401114, 'mean_word_length': 6.87719298245614, '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': '2374027', 'n_tokens_mistral': 496, 'n_tokens_neox': 495, 'n_words': 89}