<commit_before>package yushijinhun.authlibagent.web.yggdrasil.servlet;

import java.io.IOException;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.context.support.SpringBeanAutowiringSupport;
import yushijinhun.authlibagent.service.YggdrasilService;
import yushijinhun.authlibagent.web.yggdrasil.ResponseSerializer;

abstract public class YggdrasilServlet extends HttpServlet {

	private static final long serialVersionUID = 1L;

	private final Logger LOGGER = LogManager.getFormatterLogger(getClass());

	@Autowired
	protected YggdrasilService backend;

	@Autowired
	protected ResponseSerializer serializer;

	@Value("#{errorNames}")<commit_msg>change servlet's logger to protected<commit_after>package yushijinhun.authlibagent.web.yggdrasil.servlet;

import java.io.IOException;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.context.support.SpringBeanAutowiringSupport;
import yushijinhun.authlibagent.service.YggdrasilService;
import yushijinhun.authlibagent.web.yggdrasil.ResponseSerializer;

abstract public class YggdrasilServlet extends HttpServlet {

	private static final long serialVersionUID = 1L;

	protected final Logger LOGGER = LogManager.getFormatterLogger(getClass());

	@Autowired
	protected YggdrasilService backend;

	@Autowired
	protected ResponseSerializer serializer;

	@Value("#{errorNames}")
{'fraction_non_alphanumeric': 0.08555399719495091, 'fraction_numerical': 0.002805049088359046, 'mean_word_length': 7.458498023715415, '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': '5017606', 'n_tokens_mistral': 618, 'n_tokens_neox': 630, 'n_words': 115}