<commit_before>package org.psjava.util;

public class AssertStatus {
	public static void assertTrue(boolean v) {
		assertTrue(v, "");
	}

	public static void assertTrue(boolean v, String message) {
		if (!v)
			throw new RuntimeException(message);
	}
}
<commit_msg>add assertion util methods<commit_after>package org.psjava.util;

public class AssertStatus {
	public static void assertTrue(boolean v) {
		assertTrue(v, "");
	}

	public static void assertNotNull(Object v) {
		assertTrue(v != null, "Object is cannot be a null");
	}

	public static void assertNotNull(Object v, String message) {
		assertTrue(v != null);
	}

	public static void assertTrue(boolean v, String message) {
		if (!v)
			throw new RuntimeException(message);
	}
}

{'fraction_non_alphanumeric': 0.10376134889753567, 'fraction_numerical': 0.0, 'mean_word_length': 3.707317073170732, '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': '7241784', 'n_tokens_mistral': 242, 'n_tokens_neox': 231, 'n_words': 72}