<commit_before>package uk.ac.ebi.spot.goci.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.NoRepositoryBean;
import uk.ac.ebi.spot.goci.model.Note;

/**
 * Created by cinzia on 28/03/2017.
 */
@NoRepositoryBean
public interface  NoteBaseRepository <T extends Note>  extends JpaRepository<Note, Long> {
}<commit_msg>notebaserepo<commit_after>package uk.ac.ebi.spot.goci.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.NoRepositoryBean;
import uk.ac.ebi.spot.goci.model.Note;

import java.util.Collection;

/**
 * Created by cinzia on 28/03/2017.
 */
@NoRepositoryBean
public interface  NoteBaseRepository <T extends Note>  extends JpaRepository<T, Long> {
        public Collection<T> findByStudyId(Long studyId);
        public Collection<T> findByGenericId(Long genericId);
}
{'fraction_non_alphanumeric': 0.11026200873362445, 'fraction_numerical': 0.017467248908296942, 'mean_word_length': 5.280821917808219, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '22599', 'n_tokens_mistral': 303, 'n_tokens_neox': 287, 'n_words': 56}