<commit_before>package net.tjololo.openshift.havoc.api;

import net.tjololo.openshift.havoc.api.v1.Pod;
import net.tjololo.openshift.havoc.api.v1.Status;
import net.tjololo.openshift.havoc.connector.kubernetes.KubernetesDiscovery;
import net.tjololo.openshift.havoc.connector.kubernetes.contracts.v1.Item;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.stream.Collectors;

/**
 * Created by veg on 20.12.2016.
 */
@RestController
public class PodsController {
    private KubernetesDiscovery kubernetesDiscovery;
    private String defaultURI;
    private static final String PODS_JSON_V1 = "application/keres.pods.v1+json";
    private Logger log = LoggerFactory.getLogger(this.getClass());

    @Autowired
    public PodsController(KubernetesDiscovery kubernetesDiscovery, @Value("${net.tjololo.openshift.havoc.master.uri}") String defaultURI) {
        this.kubernetesDiscovery = kubernetesDiscovery;
        this.defaultURI = defaultURI;
    }
<commit_msg>Improve code quality. Remove unused imprts<commit_after>package net.tjololo.openshift.havoc.api;

import net.tjololo.openshift.havoc.api.v1.Pod;
import net.tjololo.openshift.havoc.api.v1.Status;
import net.tjololo.openshift.havoc.connector.kubernetes.KubernetesDiscovery;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.stream.Collectors;

/**
 * Created by veg on 20.12.2016.
 */
@RestController
public class PodsController {
    private KubernetesDiscovery kubernetesDiscovery;
    private String defaultURI;
    private static final String PODS_JSON_V1 = "application/keres.pods.v1+json";
    private Logger log = LoggerFactory.getLogger(this.getClass());

    @Autowired
    public PodsController(KubernetesDiscovery kubernetesDiscovery, @Value("${net.tjololo.openshift.havoc.master.uri}") String defaultURI) {
        this.kubernetesDiscovery = kubernetesDiscovery;
        this.defaultURI = defaultURI;
    }

{'fraction_non_alphanumeric': 0.10290456431535269, 'fraction_numerical': 0.012033195020746889, 'mean_word_length': 5.197943444730077, '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': '3315667', 'n_tokens_mistral': 774, 'n_tokens_neox': 752, 'n_words': 127}