<commit_before>package fr.issamax.essearch.admin.river.action;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import fr.issamax.essearch.admin.river.data.FSRiver;
import fr.issamax.essearch.admin.river.service.RiverService;
import fr.issamax.essearch.constant.ESSearchProperties;

@Component("settingsAction")
@Scope("session")
public class SettingsAction implements Serializable{

	private static final long serialVersionUID = -582985573033101693L;

	@Autowired
	RiverService riverService;

	List<FSRiver> fsRivers = new ArrayList<FSRiver>();

	FSRiver fsRiverSelect = new FSRiver(ESSearchProperties.INDEX_NAME, 
			ESSearchProperties.INDEX_TYPE_DOC, "", "", "", null);

	public void add() {

		riverService.update(fsRiverSelect);
		fsRivers.add(fsRiverSelect);
		fsRiverSelect = new FSRiver(ESSearchProperties.INDEX_NAME, 
				ESSearchProperties.INDEX_TYPE_DOC, "", "", "", null);

	}

	public String init() {

		fsRivers = riverService.get();
		return "settings";
	}

	public void resetFsRiverSelect() {
		fsRiverSelect = new FSRiver();
	}

	public void update() {
		riverService.update(fsRiverSelect);
	}

	public void reomove() {
		riverService.remove(fsRiverSelect);
	}

	public List<FSRiver> getFsRivers() {
		return fsRivers;
	}

	public void setFsRivers(List<FSRiver> fsRivers) {
		this.fsRivers = fsRivers;
	}

	public FSRiver getFsRiverSelect() {
		return fsRiverSelect;
	}

	public void setFsRiverSelect(FSRiver fsRiverSelect) {
		this.fsRiverSelect = fsRiverSelect;
	}

}
<commit_msg>Typo : remove<commit_after>package fr.issamax.essearch.admin.river.action;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import fr.issamax.essearch.admin.river.data.FSRiver;
import fr.issamax.essearch.admin.river.service.RiverService;
import fr.issamax.essearch.constant.ESSearchProperties;

@Component("settingsAction")
@Scope("session")
public class SettingsAction implements Serializable{

	private static final long serialVersionUID = -582985573033101693L;

	@Autowired
	RiverService riverService;

	List<FSRiver> fsRivers = new ArrayList<FSRiver>();

	FSRiver fsRiverSelect = new FSRiver(ESSearchProperties.INDEX_NAME, 
			ESSearchProperties.INDEX_TYPE_DOC, "", "", "", null);

	public void add() {
		riverService.update(fsRiverSelect);
		fsRivers.add(fsRiverSelect);
		fsRiverSelect = new FSRiver(ESSearchProperties.INDEX_NAME, 
				ESSearchProperties.INDEX_TYPE_DOC, "", "", "", null);
	}

	public String init() {
		fsRivers = riverService.get();
		return "settings";
	}

	public void resetFsRiverSelect() {
		fsRiverSelect = new FSRiver();
	}

	public void update() {
		riverService.update(fsRiverSelect);
	}

	public void remove() {
		riverService.remove(fsRiverSelect);
	}

	public List<FSRiver> getFsRivers() {
		return fsRivers;
	}

	public void setFsRivers(List<FSRiver> fsRivers) {
		this.fsRivers = fsRivers;
	}

	public FSRiver getFsRiverSelect() {
		return fsRiverSelect;
	}

	public void setFsRiverSelect(FSRiver fsRiverSelect) {
		this.fsRiverSelect = fsRiverSelect;
	}

}

{'fraction_non_alphanumeric': 0.11055424528301887, 'fraction_numerical': 0.01061320754716981, 'mean_word_length': 5.525, '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': '1220845', 'n_tokens_mistral': 1231, 'n_tokens_neox': 1131, 'n_words': 199}