<commit_before>package exercise06;

/**
 * Created by sebb on 5/14/16.
 */
public class Stock implements GoodsSink, GoodsSource {
    int stock = 0;

    @Override
    public void receive(int count) {
        stock += count;
    }

    @Override
    public boolean deliver(int count) {
        if(stock >= count)
        {
            stock -= count;
            return true;
        }
        return false;
    }

    @Override
    public String toString() {
        return "Im Lager: " + stock;<commit_msg>added \n in Stocks toString<commit_after>package exercise06;

/**
 * Created by sebb on 5/14/16.
 */
public class Stock implements GoodsSink, GoodsSource {
    int stock = 0;

    @Override
    public void receive(int count) {
        stock += count;
    }

    @Override
    public boolean deliver(int count) {
        if(stock >= count)
        {
            stock -= count;
            return true;
        }
        return false;
    }

    @Override
    public String toString() {
        return "Im Lager: " + stock + "\n";
{'fraction_non_alphanumeric': 0.10125361620057859, 'fraction_numerical': 0.015429122468659595, 'mean_word_length': 1.8130081300813008, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5695035', 'n_tokens_mistral': 312, 'n_tokens_neox': 299, 'n_words': 92}