<commit_before>package ch.mapirium.server.mapservice.repo;

import ch.mapirium.server.mapservice.model.MapEntity;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.query.Param;

/**
 * Created by surech on 08.05.16.
 */
public interface MapRepository extends CrudRepository<MapEntity, Long> {

    @Query("SELECT m FROM MapEntity m WHERE m.publicId = :publicId")
    public MapEntity findByPublicId(@Param("publicId") String publicId);

    @Query("SELECT m FROM MapEntity m WHERE m.name = :name")
    public MapEntity findByName(@Param("name") String name);
}<commit_msg>stu: Kommentar anpassen<commit_after>package ch.mapirium.server.mapservice.repo;

import ch.mapirium.server.mapservice.model.MapEntity;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.query.Param;

/**
 * Repository für den Zugriff auf die Karten
 */
public interface MapRepository extends CrudRepository<MapEntity, Long> {

    @Query("SELECT m FROM MapEntity m WHERE m.publicId = :publicId")
    public MapEntity findByPublicId(@Param("publicId") String publicId);

    @Query("SELECT m FROM MapEntity m WHERE m.name = :name")
    public MapEntity findByName(@Param("name") String name);
}
{'fraction_non_alphanumeric': 0.11038489469862019, 'fraction_numerical': 0.004357298474945534, 'mean_word_length': 5.5, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '938392', 'n_tokens_mistral': 406, 'n_tokens_neox': 398, 'n_words': 98}