<commit_before>package org.knowm.xchange.interceptor;

import com.google.common.base.Suppliers;
import java.util.Collection;
import java.util.ServiceLoader;
import java.util.function.Supplier;
import java.util.stream.Collectors;
import java.util.stream.StreamSupport;
import si.mazi.rescu.Interceptor;

public class InterceptorProvider {

    private static final Supplier<Collection<Interceptor>> INTERCEPTORS_SUPPLIER =
            Suppliers.memoize(
                    () -> {
                        final ServiceLoader<Interceptor> serviceLoader = ServiceLoader.load(Interceptor.class);
                        return StreamSupport.stream(serviceLoader.spliterator(), false)
                                .collect(Collectors.toSet());
                    });

    public static Collection<Interceptor> provide() {
        return INTERCEPTORS_SUPPLIER.get();
    }
}<commit_msg>Rebased with develop<commit_after>package org.knowm.xchange.interceptor;

import com.google.common.base.Suppliers;
import java.util.Collection;
import java.util.ServiceLoader;
import java.util.function.Supplier;
import java.util.stream.Collectors;
import java.util.stream.StreamSupport;
import si.mazi.rescu.Interceptor;

public class InterceptorProvider {

  private static final Supplier<Collection<Interceptor>> INTERCEPTORS_SUPPLIER =
      Suppliers.memoize(
          () -> {
            final ServiceLoader<Interceptor> serviceLoader = ServiceLoader.load(Interceptor.class);
            return StreamSupport.stream(serviceLoader.spliterator(), false)
                .collect(Collectors.toSet());
          });

  public static Collection<Interceptor> provide() {
    return INTERCEPTORS_SUPPLIER.get();
  }
}
{'fraction_non_alphanumeric': 0.0975896531452087, 'fraction_numerical': 0.0, 'mean_word_length': 3.2656641604010024, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '4336276', 'n_tokens_mistral': 467, 'n_tokens_neox': 451, 'n_words': 80}