<commit_before>package de.fau.amos.virtualledger.server.savings;

import de.fau.amos.virtualledger.dtos.SavingsAccount;

import javax.enterprise.context.ApplicationScoped;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@ApplicationScoped
public class SavingsController {


    List<SavingsAccount> savingsAccountList = new ArrayList<>();

    public List<SavingsAccount> getSavingAccounts(String email) {

        return savingsAccountList;
    }

    private void addSavingAccount(String email, SavingsAccount savingsAccount) {
        
        savingsAccountList.add(savingsAccount);
    }
}
<commit_msg>added throw declaration to add method in SavingsController<commit_after>package de.fau.amos.virtualledger.server.savings;

import de.fau.amos.virtualledger.dtos.SavingsAccount;

import javax.enterprise.context.ApplicationScoped;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@ApplicationScoped
public class SavingsController {


    List<SavingsAccount> savingsAccountList = new ArrayList<>();

    public List<SavingsAccount> getSavingAccounts(String email) {

        return savingsAccountList;
    }

    private void addSavingAccount(String email, SavingsAccount savingsAccount) throws SavingsException {

        savingsAccountList.add(savingsAccount);
    }
}

{'fraction_non_alphanumeric': 0.08276899924755456, 'fraction_numerical': 0.0, 'mean_word_length': 4.833333333333333, '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': '263048', 'n_tokens_mistral': 397, 'n_tokens_neox': 371, 'n_words': 75}