<commit_before>package com.adam58.controller;

import spark.Spark;

/**
 * @author <NAME>
 *
 * Main class serves as entry point for the whole application. Main mthod initializes Spark framework and set
 * up web application which is accessible at localhost:4567
 */
public class Main {
    public static void main(String[] args) {
        Chat chat = new Chat();

        /*
        * webSocket method registers java class to handle javascript web socket requests. Web socket
        * is accessible at given url path
        * */
        Spark.webSocket("/index", new ChatMenuSocketHandler(chat));
        Spark.webSocket("/channel", new ChannelSocketHandler(chat));
        setStaticFileLocation();

        Spark.init();
    }

    private static void setStaticFileLocation() {
        String projectDir;
        if ((projectDir = System.getProperty("user.dir")).contains("IdeaProjects")) {
            String staticDir = "/src/main/resources/public";
            Spark.externalStaticFileLocation(projectDir + staticDir);
        } else {
            Spark.staticFileLocation("/public");
        }
    }
}
<commit_msg>Adjusted Main class to changes in controllers<commit_after>package com.adam58.controller;

import spark.Spark;

/**
 * @author <NAME>
 *
 * Main class serves as entry point for the whole application. Main mthod initializes Spark framework and set
 * up web application which is accessible at localhost:4567
 */
public class Main {
    public static void main(String[] args) {
        /*
        * webSocket method registers java class to handle javascript web socket requests. Web socket
        * is accessible at given url path
        * */
        Spark.webSocket("/index", new ChatMenuController());
        Spark.webSocket("/channel", new ChannelSocketController());

        setStaticFileLocation();

        Spark.init();
    }

    private static void setStaticFileLocation() {
        String projectDir;
        if ((projectDir = System.getProperty("user.dir")).contains("IdeaProjects")) {
            String staticDir = "/src/main/resources/public";
            Spark.externalStaticFileLocation(projectDir + staticDir);
        } else {
            Spark.staticFileLocation("/public");
        }
    }
}

{'fraction_non_alphanumeric': 0.1001788908765653, 'fraction_numerical': 0.005366726296958855, 'mean_word_length': 2.7533557046979866, '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': '1206605', 'n_tokens_mistral': 584, 'n_tokens_neox': 560, 'n_words': 174}