<commit_before>/** 
 * Copyright 2005-2007 <NAME>
 * Distributed under the GNU General Public License 2.0
 */

package com.xruby.runtime.lang;

import java.util.*;
import com.xruby.runtime.value.*;

public class AtExitBlocks {
	private static ArrayList<RubyBlock> registgered_blocks_ = new ArrayList<RubyBlock>();
	
	public static void registerBlock(RubyBlock block) {
		registgered_blocks_.add(0, block);
	}
	
	static void invokeAll() {
		for (RubyBlock block : registgered_blocks_) {
			block.invoke(ObjectFactory.topLevelSelfValue, null);
		}
	}
}<commit_msg>refactoring ObjectFactory constant lower case to upper case<commit_after>/**
 * Copyright 2005-2007 <NAME>
 * Distributed under the GNU General Public License 2.0
 */

package com.xruby.runtime.lang;

import com.xruby.runtime.value.ObjectFactory;

import java.util.ArrayList;

public class AtExitBlocks {
    private static ArrayList<RubyBlock> registgered_blocks_ = new ArrayList<RubyBlock>();

    public static void registerBlock(RubyBlock block) {
        registgered_blocks_.add(0, block);
    }

    static void invokeAll() {
        for (RubyBlock block : registgered_blocks_) {
            block.invoke(ObjectFactory.TOP_LEVEL_SELF_VALUE, null);
        }
    }
}
{'fraction_non_alphanumeric': 0.0989456609894566, 'fraction_numerical': 0.017842660178426603, 'mean_word_length': 4.141666666666667, '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': '6637069', 'n_tokens_mistral': 415, 'n_tokens_neox': 353, 'n_words': 93}