<commit_before>package com.hida.model;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * An exception used to display how many permutations actually remain and the requested amount
 * that caused an error.
 * @author lruffin
 */
@ResponseStatus(value = HttpStatus.BAD_REQUEST, reason = 
        "Requested amount exceeds possible number "
        + "of permutations")
public class NotEnoughPermutationsException extends RuntimeException {

    // Logger; logfile to be stored in resource folder
    private static final Logger Logger = 
            LoggerFactory.getLogger(NotEnoughPermutationsException.class);
    private long RemainingPermutations;
    private long RequestedAmount;

    public NotEnoughPermutationsException(long remaining, long requested) {
        this.RemainingPermutations = remaining;
        this.RequestedAmount = requested;
    }

    /**
     * Creates a new instance of <code>TooManyPermutationsException</code>
     * without detail message.
     */
    public NotEnoughPermutationsException() {
    }

    /**
     * Constructs an instance of <code>TooManyPermutationsException</code> with
     * the specified detail message.
     *
     * @param msg the detail message.
     */
    public NotEnoughPermutationsException(String msg) {
        super(msg);
    }

    @Override
    public String getMessage() {
        //Logger.error(RequestedAmount+" ids were requested but only "+RemainingPermutations+" can be created using given format");
        return String.format("%d ids were requested but only %d can be created using given format",
                RequestedAmount, RemainingPermutations);
    }
}
<commit_msg>Remove all instances of Logger and its imports<commit_after>package com.hida.model;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * An exception used to display how many permutations actually remain and the requested amount
 * that caused an error.
 * @author lruffin
 */
@ResponseStatus(value = HttpStatus.BAD_REQUEST, reason = 
        "Requested amount exceeds possible number "
        + "of permutations")
public class NotEnoughPermutationsException extends RuntimeException {

    private long RemainingPermutations;
    private long RequestedAmount;

    public NotEnoughPermutationsException(long remaining, long requested) {
        this.RemainingPermutations = remaining;
        this.RequestedAmount = requested;
    }

    /**
     * Creates a new instance of <code>TooManyPermutationsException</code>
     * without detail message.
     */
    public NotEnoughPermutationsException() {
    }

    /**
     * Constructs an instance of <code>TooManyPermutationsException</code> with
     * the specified detail message.
     *
     * @param msg the detail message.
     */
    public NotEnoughPermutationsException(String msg) {
        super(msg);
    }

    @Override
    public String getMessage() {
        //Logger.error(RequestedAmount+" ids were requested but only "+RemainingPermutations+" can be created using given format");
        return String.format("%d ids were requested but only %d can be created using given format",
                RequestedAmount, RemainingPermutations);
    }
}

{'fraction_non_alphanumeric': 0.07722122838401908, 'fraction_numerical': 0.0005963029218843172, 'mean_word_length': 3.3741851368970015, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '3021735', 'n_tokens_mistral': 873, 'n_tokens_neox': 824, 'n_words': 263}