<commit_before>package com.github.davidcarboni.restolino.routes;

import com.github.davidcarboni.restolino.framework.Home;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.net.URI;
import java.net.URL;

/**
 * Extend this class and add the {@link Home} interface to your subclass. This
 * class provides the functionality needed to send a redirect in response to
 * <code>GET /</code> - typically to a static index page.
 *
 * @author david
 */
public abstract class DefaultIndexRedirect implements Home {
<commit_msg>Made DefaultIndexRedirect a concrete class so it doesn't need to be subclassed.<commit_after>package com.github.davidcarboni.restolino.routes;

import com.github.davidcarboni.restolino.framework.Home;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.net.URI;
import java.net.URL;

/**
 * Extend this class and add the {@link Home} interface to your subclass. This
 * class provides the functionality needed to send a redirect in response to
 * <code>GET /</code> - typically to a static index page.
 *
 * @author david
 */
public class DefaultIndexRedirect implements Home {

{'fraction_non_alphanumeric': 0.08867775138558986, 'fraction_numerical': 0.0, 'mean_word_length': 4.906542056074766, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6205994', 'n_tokens_mistral': 356, 'n_tokens_neox': 352, 'n_words': 120}