<commit_before>
package org.onebeartoe.sports.scoreboard.webapp;

import java.io.IOException;
import java.io.PrintWriter;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.onebeartoe.sports.scoreboard.frame.buffer.display.ScoreboardApp;

/**
 *
 * @author <NAME>
 */
@WebServlet(urlPatterns = {"/game/clock/*"})
public class GameClockStartStopServlet extends HttpServlet
{
    private Logger logger;

    @Override
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException 
    {
//        String servletPath = request.getServletPath();
        
        String pi = request.getPathInfo();
        String operation = pi.substring(1);
        
        String r = getResponse(
//                servletPath, 
                operation);
        
        ServletOutputStream outputStream = response.getOutputStream();
        try (PrintWriter pw = new PrintWriter(outputStream)) 
        {
            pw.write(r);
            pw.flush();
        }
    }    

    private String getResponse(
//            String servletPath, 
            String operation)
    {
//        int op = getOperation(operation);
        
        String response = "-1";
        
        switch (operation)
        {<commit_msg>These are whitespace changes.<commit_after>
package org.onebeartoe.sports.scoreboard.webapp;

import java.io.IOException;
import java.io.PrintWriter;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.onebeartoe.sports.scoreboard.frame.buffer.display.ScoreboardApp;

/**
 *
 * @author <NAME>
 */
@WebServlet(urlPatterns = {"/game/clock/*"})
public class GameClockStartStopServlet extends HttpServlet
{
    private Logger logger;

    @Override
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException 
    {
//        String servletPath = request.getServletPath();
        
        String pi = request.getPathInfo();
        String operation = pi.substring(1);
        
        String r = getResponse(
//                servletPath, 
                operation);
        
        ServletOutputStream outputStream = response.getOutputStream();
  //      try (
                PrintWriter pw = new PrintWriter(outputStream);
//                ) 
//        {
            pw.write(r);
            pw.flush();
  //      }
    }    

    private String getResponse(
//            String servletPath, 
            String operation)
    {
//        int op = getOperation(operation);
        
        String response = "-1";
        
        switch (operation)
        {
{'fraction_non_alphanumeric': 0.09568775574441298, 'fraction_numerical': 0.0012590494176896443, 'mean_word_length': 2.4431202600216686, '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': '6278579', 'n_tokens_mistral': 838, 'n_tokens_neox': 818, 'n_words': 175}