<commit_before>package fr.openwide.core.test.jpa.security.business.person.model;

import java.util.LinkedList;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.ManyToMany;

import org.hibernate.search.annotations.Indexed;

import fr.openwide.core.jpa.security.business.person.model.AbstractPerson;
import fr.openwide.core.jpa.security.business.person.model.IPersonGroup;

@Entity
@Indexed
public class MockPerson extends AbstractPerson<MockPerson> {
	private static final long serialVersionUID = 4396833928821998996L;

	@ManyToMany(mappedBy="persons")
	private List<MockPersonGroup> groups = new LinkedList<MockPersonGroup>();

	public List<MockPersonGroup> getGroups() {
		return groups;
	}

	public void setGroups(List<MockPersonGroup> groups) {
		this.groups = groups;
	}

	@SuppressWarnings("unchecked")
	@Override
	public List<IPersonGroup> getPersonGroups() {
		return (List<IPersonGroup>) ((Object) groups);
	}

}<commit_msg>suppression du mappedBy côté Person dans les tests<commit_after>package fr.openwide.core.test.jpa.security.business.person.model;

import java.util.LinkedList;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.ManyToMany;

import org.hibernate.search.annotations.Indexed;

import fr.openwide.core.jpa.security.business.person.model.AbstractPerson;
import fr.openwide.core.jpa.security.business.person.model.IPersonGroup;

@Entity
@Indexed
public class MockPerson extends AbstractPerson<MockPerson> {
	private static final long serialVersionUID = 4396833928821998996L;

	@ManyToMany
	private List<MockPersonGroup> groups = new LinkedList<MockPersonGroup>();

	public List<MockPersonGroup> getGroups() {
		return groups;
	}

	public void setGroups(List<MockPersonGroup> groups) {
		this.groups = groups;
	}

	@SuppressWarnings("unchecked")
	@Override
	public List<IPersonGroup> getPersonGroups() {
		return (List<IPersonGroup>) ((Object) groups);
	}

}
{'fraction_non_alphanumeric': 0.10631741140215717, 'fraction_numerical': 0.019517205957883924, 'mean_word_length': 6.323308270676692, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '1572568', 'n_tokens_mistral': 641, 'n_tokens_neox': 604, 'n_words': 117}