<commit_before>package com.accenture.multibank.dao;

import java.util.HashMap;
import java.util.Map;

import com.accenture.multibank.accounts.AccountReadable;

public class AccountDaoImpl implements AbstractDAO<Integer, AccountReadable> {

	private Map<Integer, AccountReadable> map = new HashMap<>();

	@Override
	public void save(AccountReadable account) {
		map.put(account.getAccountNumber(), account);
	}

	@Override
	public void find(Integer accountNumber) {
		map.get(accountNumber);
	}

	@Override
	public void update(AccountReadable account) {
		map.put(account.getAccountNumber(), account);
	}

	@Override
	public void delete(Integer accountNumber) {
		map.remove(accountNumber);
	}
}<commit_msg>change return types<commit_after>package com.accenture.multibank.dao;

import java.util.HashMap;
import java.util.Map;

import com.accenture.multibank.accounts.AccountReadable;

public class AccountDaoImpl implements AbstractDAO<Integer, AccountReadable> {

	private Map<Integer, AccountReadable> map = new HashMap<>();

	@Override
	public void save(AccountReadable account) {
		map.put(account.getAccountNumber(), account);
	}

	@Override
	public AccountReadable find(Integer accountNumber) {
		map.get(accountNumber);
	}

	@Override
	public void update(AccountReadable account) {
		map.put(account.getAccountNumber(), account);
	}

	@Override
	public AccountReadable delete(Integer accountNumber) {
		return map.remove(accountNumber);
	}
}
{'fraction_non_alphanumeric': 0.1050449205252246, 'fraction_numerical': 0.0, 'mean_word_length': 5.961538461538462, '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': '5324061', 'n_tokens_mistral': 456, 'n_tokens_neox': 442, 'n_words': 95}