<commit_before>package com.github.dump247.jenkins.plugins.dockerjob;

import com.google.common.base.Joiner;
import com.google.common.collect.ImmutableList;
import hudson.model.Computer;
import hudson.model.Descriptor;
import hudson.model.Node;
import hudson.model.Slave;
import hudson.model.labels.LabelAtom;
import hudson.model.queue.MappingWorksheet;
import hudson.remoting.VirtualChannel;
import hudson.slaves.EphemeralNode;
import hudson.slaves.NodeProperty;
import jenkins.model.Jenkins;

import javax.annotation.Nonnull;
import java.io.IOException;
import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;

import static com.google.common.base.Preconditions.checkNotNull;
import static java.lang.String.format;

/**
 * Slave that
 */
public class DockerJobSlave extends Slave implements EphemeralNode {
    private static final Logger LOG = Logger.getLogger(DockerJobSlave.class.getName());
    private static final Joiner LABEL_JOINER = Joiner.on(' ');

    public DockerJobSlave(@Nonnull String name, String nodeDescription, String remoteFS, Set<LabelAtom> labels, DockerJobComputerLauncher launcher) throws Descriptor.FormException, IOException {
        super(name,
                nodeDescription,
                remoteFS,
                1,
                Mode.EXCLUSIVE,
                LABEL_JOINER.join(labels),
                launcher,
                new DockerJobRetentionStrategy(),
                ImmutableList.<NodeProperty<?>>of());
    }

    @Override
    public Node asNode() {
        return this;
    }
<commit_msg>Remove unused imports<commit_after>package com.github.dump247.jenkins.plugins.dockerjob;

import com.google.common.base.Joiner;
import com.google.common.collect.ImmutableList;
import hudson.model.Computer;
import hudson.model.Descriptor;
import hudson.model.Node;
import hudson.model.Slave;
import hudson.model.labels.LabelAtom;
import hudson.remoting.VirtualChannel;
import hudson.slaves.EphemeralNode;
import hudson.slaves.NodeProperty;
import jenkins.model.Jenkins;

import javax.annotation.Nonnull;
import java.io.IOException;
import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;

import static java.lang.String.format;

/**
 * Slave that
 */
public class DockerJobSlave extends Slave implements EphemeralNode {
    private static final Logger LOG = Logger.getLogger(DockerJobSlave.class.getName());
    private static final Joiner LABEL_JOINER = Joiner.on(' ');

    public DockerJobSlave(@Nonnull String name, String nodeDescription, String remoteFS, Set<LabelAtom> labels, DockerJobComputerLauncher launcher) throws Descriptor.FormException, IOException {
        super(name,
                nodeDescription,
                remoteFS,
                1,
                Mode.EXCLUSIVE,
                LABEL_JOINER.join(labels),
                launcher,
                new DockerJobRetentionStrategy(),
                ImmutableList.<NodeProperty<?>>of());
    }

    @Override
    public Node asNode() {
        return this;
    }

{'fraction_non_alphanumeric': 0.09177318911832186, 'fraction_numerical': 0.002622091117666339, 'mean_word_length': 3.4231884057971014, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '6206721', 'n_tokens_mistral': 926, 'n_tokens_neox': 860, 'n_words': 185}