<commit_before>package fr.openwide.core.showcase.web.application.config.spring;

import org.apache.wicket.protocol.http.WebApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

import fr.openwide.core.showcase.core.config.spring.ShowcaseCoreConfig;
import fr.openwide.core.showcase.web.ShowcaseWebPackage;
import fr.openwide.core.showcase.web.application.ShowcaseApplication;
import fr.openwide.core.wicket.more.config.spring.AbstractWebappConfig;

@Configuration
@Import({
	ShowcaseCoreConfig.class,
	ShowcaseWebappSecurityConfig.class
})
@ComponentScan(
		basePackageClasses = {
				ShowcaseWebPackage.class
		}
)
public class ShowcaseWebappConfig extends AbstractWebappConfig {

	@Override
	@Bean(name = { "showcaseApplication", "application" })
	public WebApplication application() {
		return new ShowcaseApplication();
	}

}
<commit_msg>le filtre est hyper-important ; il ne faut pas charger les @Configuration n'importe comment<commit_after>package fr.openwide.core.showcase.web.application.config.spring;

import org.apache.wicket.protocol.http.WebApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScan.Filter;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

import fr.openwide.core.showcase.core.config.spring.ShowcaseCoreConfig;
import fr.openwide.core.showcase.web.ShowcaseWebPackage;
import fr.openwide.core.showcase.web.application.ShowcaseApplication;
import fr.openwide.core.wicket.more.config.spring.AbstractWebappConfig;

@Configuration
@Import({
	ShowcaseCoreConfig.class,
	ShowcaseWebappSecurityConfig.class
})
@ComponentScan(
		basePackageClasses = {
				ShowcaseWebPackage.class
		},
		excludeFilters = @Filter(Configuration.class)
)
public class ShowcaseWebappConfig extends AbstractWebappConfig {

	@Override
	@Bean(name = { "showcaseApplication", "application" })
	public WebApplication application() {
		return new ShowcaseApplication();
	}

}

{'fraction_non_alphanumeric': 0.09844789356984479, 'fraction_numerical': 0.0, 'mean_word_length': 6.779310344827586, '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': '3116680', 'n_tokens_mistral': 648, 'n_tokens_neox': 631, 'n_words': 100}