<commit_before>package com.toedter.ms60min;

import com.toedter.ms60min.thing.Thing;
import com.toedter.ms60min.thing.ThingRepository;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.hateoas.UriTemplate;
import org.springframework.hateoas.hal.CurieProvider;
import org.springframework.hateoas.hal.DefaultCurieProvider;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

import java.util.Arrays;
import java.util.List;
import java.util.Random;

@SpringBootApplication
public class Ms60minApplication implements WebMvcConfigurer {

    public static String CURIE_NAMESPACE = "ms60min";

    public @Bean
    CurieProvider curieProvider() {
        return new DefaultCurieProvider(CURIE_NAMESPACE, new UriTemplate("/docs/html5/{rel}.html"));
    }

    public static void main(String[] args) {
        // when deployed as a docker container to Heroku
        // Heroku sets the PORT environment variable
        // The DYNO environment variable is just to make sure to run in an Heroku environment
        String herokuPort = System.getenv().get("PORT");
        String herokuDyno = System.getenv().get("DYNO");
        if (herokuPort != null && herokuDyno != null) {
            System.getProperties().put("server.port", herokuPort);
        }
        SpringApplication.run(Ms60minApplication.class, args);
    }

    @Bean
    CommandLineRunner init(ThingRepository thingRepository) {
        List<String> webColors = Arrays.asList("Red", "DarkBlue", "Gold", "LightBlue", "Purple",
                "White", "Silver", "Gray", "Black", "Orange", "Maroon", "Green", "Olive");<commit_msg>chore: refactored public static CURIE_NAMESPACE<commit_after>package com.toedter.ms60min;

import com.toedter.ms60min.thing.Thing;
import com.toedter.ms60min.thing.ThingRepository;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.hateoas.UriTemplate;
import org.springframework.hateoas.hal.CurieProvider;
import org.springframework.hateoas.hal.DefaultCurieProvider;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

import java.util.Arrays;
import java.util.List;
import java.util.Random;

@SpringBootApplication
public class Ms60minApplication implements WebMvcConfigurer {

    public @Bean
    CurieProvider curieProvider() {
        return new DefaultCurieProvider("ms60min", new UriTemplate("/docs/html5/{rel}.html"));
    }

    public static void main(String[] args) {
        // when deployed as a docker container to Heroku
        // Heroku sets the PORT environment variable
        // The DYNO environment variable is just to make sure to run in an Heroku environment
        String herokuPort = System.getenv().get("PORT");
        String herokuDyno = System.getenv().get("DYNO");
        if (herokuPort != null && herokuDyno != null) {
            System.getProperties().put("server.port", herokuPort);
        }
        SpringApplication.run(Ms60minApplication.class, args);
    }

    @Bean
    CommandLineRunner init(ThingRepository thingRepository) {
        List<String> webColors = Arrays.asList("Red", "DarkBlue", "Gold", "LightBlue", "Purple",
                "White", "Silver", "Gray", "Black", "Orange", "Maroon", "Green", "Olive");
{'fraction_non_alphanumeric': 0.10937934873364877, 'fraction_numerical': 0.007236292791539103, 'mean_word_length': 4.223837209302325, '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': '1462951', 'n_tokens_mistral': 1044, 'n_tokens_neox': 1019, 'n_words': 230}