<commit_before>package com.github.ppodgorsek.juncacher.logger.impl;

import java.util.Collection;
import java.util.Collections;
import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.github.ppodgorsek.juncacher.logger.InvalidationLogger;
import com.github.ppodgorsek.juncacher.model.InvalidationEntry;

/**
 * An invalidation logger that does nothing.
 *
 * @since 1.0
 * @author <NAME>
 */
public class NoOpInvalidationLogger<T extends InvalidationEntry> implements InvalidationLogger<T> {

	private static final Logger LOGGER = LoggerFactory.getLogger(NoOpInvalidationLogger.class);

	@Override
	public void addInvalidationEntries(final Collection<T> entries) {
		LOGGER.trace("Adding invalidation entries: {}", entries);
	}

	@Override
	public void addInvalidationEntry(final T entry) {
		LOGGER.trace("Adding an invalidation entry: {}", entry);
	}

	@Override
	public void consume(final T entry) {
		LOGGER.trace("Consuming an invalidation entry: {}", entry);
	}

	@Override
	public void consume(final List<T> entries) {
		LOGGER.trace("Consuming invalidation entries: {}", entries);
	}

	@Override
	public List<T> getEntries() {

		LOGGER.debug("Returning an empty list of elements");

		return Collections.emptyList();
	}

}
<commit_msg>Updated the JavaDoc.<commit_after>package com.github.ppodgorsek.juncacher.logger.impl;

import java.util.Collection;
import java.util.Collections;
import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.github.ppodgorsek.juncacher.logger.InvalidationLogger;
import com.github.ppodgorsek.juncacher.model.InvalidationEntry;

/**
 * An invalidation logger that does nothing: no adding, no consuming, always returns empty lists of
 * entries.
 *
 * @since 1.0
 * @author <NAME>
 */
public class NoOpInvalidationLogger<T extends InvalidationEntry> implements InvalidationLogger<T> {

	private static final Logger LOGGER = LoggerFactory.getLogger(NoOpInvalidationLogger.class);

	@Override
	public void addInvalidationEntries(final Collection<T> entries) {
		LOGGER.trace("Adding invalidation entries: {}", entries);
	}

	@Override
	public void addInvalidationEntry(final T entry) {
		LOGGER.trace("Adding an invalidation entry: {}", entry);
	}

	@Override
	public void consume(final T entry) {
		LOGGER.trace("Consuming an invalidation entry: {}", entry);
	}

	@Override
	public void consume(final List<T> entries) {
		LOGGER.trace("Consuming invalidation entries: {}", entries);
	}

	@Override
	public List<T> getEntries() {

		LOGGER.debug("Returning an empty list of elements");

		return Collections.emptyList();
	}

}

{'fraction_non_alphanumeric': 0.10697334793720335, 'fraction_numerical': 0.0029207740051113546, 'mean_word_length': 4.299806576402321, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '2684262', 'n_tokens_mistral': 871, 'n_tokens_neox': 825, 'n_words': 198}