<commit_before>package pl.softwaremill.bootstrap.service

import pl.softwaremill.bootstrap.domain.Entry
import pl.softwaremill.bootstrap.dao.EntryDAO

object EntryService {

  def loadAll = {
    EntryDAO.loadAll
  }

  def count(): Long = {
    EntryDAO.count()
  }

  def add(entry: Entry) {
    EntryDAO.add(entry)
  }

  def remove(entryId: Int) {
    EntryDAO.remove(entryId)
  }

  def load(entryId: Int) {
    EntryDAO.load(entryId)
  }

  def update(entry: Entry) {
    EntryDAO.update(entry)
  }


}<commit_msg>Fixed return type for load method ^<commit_after>package pl.softwaremill.bootstrap.service

import pl.softwaremill.bootstrap.domain.Entry
import pl.softwaremill.bootstrap.dao.EntryDAO
import pl.softwaremill.bootstrap.common.BootstrapUtils

object EntryService {

  def loadAll = {
    EntryDAO.loadAll
  }

  def count(): Long = {
    EntryDAO.count()
  }

  def add(entry: Entry) {
    EntryDAO.add(entry)
  }

  def remove(entryId: Int) {
    EntryDAO.remove(entryId)
  }

  def load(entryId: Int) = {
    EntryDAO.load(entryId)
  }

  def update(entry: Entry) {
    EntryDAO.update(entry)
  }


}
{'fraction_non_alphanumeric': 0.11438784629133154, 'fraction_numerical': 0.0, 'mean_word_length': 3.375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4235701', 'n_tokens_mistral': 415, 'n_tokens_neox': 394, 'n_words': 70}