<commit_before>package org.minimalj.repository.sql;

import java.util.List;

public interface ListTable<PARENT, ELEMENT> {
	
	public List<ELEMENT> getList(PARENT parent);
	
	public void addList(PARENT parent, List<ELEMENT> objects);

	public void replaceList(PARENT parent, List<ELEMENT> objects);
	
	//
	
	public interface HistorizedListTable<PARENT, ELEMENT> extends ListTable<PARENT, ELEMENT> {
		
		public List<ELEMENT> readAll(PARENT parent, Integer time);
		
		public void readVersions(Object parentId, List<Integer> result);

		@Override
		default void addList(PARENT parent, List<ELEMENT> objects) {
			addList(parent, objects, 0);
		}

		@Override
		default void replaceList(PARENT parent, List<ELEMENT> objects) {
			throw new IllegalArgumentException();
		}

		public void addList(PARENT parent, List<ELEMENT> objects, Integer version);

		public void replaceList(PARENT parent, List<ELEMENT> objects, int version);
	}
}
<commit_msg>ListTable: removed dead inner interface<commit_after>package org.minimalj.repository.sql;

import java.util.List;

public interface ListTable<PARENT, ELEMENT> {
	
	public List<ELEMENT> getList(PARENT parent);
	
	public void addList(PARENT parent, List<ELEMENT> objects);

	public void replaceList(PARENT parent, List<ELEMENT> objects);
	
}

{'fraction_non_alphanumeric': 0.09384384384384384, 'fraction_numerical': 0.0007507507507507507, 'mean_word_length': 4.463114754098361, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '6644068', 'n_tokens_mistral': 457, 'n_tokens_neox': 392, 'n_words': 107}