<commit_before>package util;

public class PlatformSpecific {
	
	private static final PlatformSpecific instance = new PlatformSpecific();
	private PlatformSpecific() {}
	private static final String osName = System.getProperty("os.name");
	
	public static boolean isOnWindows() {
		return osName.startsWith("Windows");
	}
	
	public static boolean isOnMac() {
		return osName.startsWith("Mac OS");
	}

	public static boolean isOnLinux() {
		return !isOnWindows() && !isOnMac();
	}

//	public static PlatformSpecific ifWindows(Runnable code) {
//		if (isOnWindows()) {
//			code.run();
//		}
//		return instance;<commit_msg>commented out unused declaration in PlatformSpecific<commit_after>package util;

public class PlatformSpecific {
	
//	private static final PlatformSpecific instance = new PlatformSpecific();
	private PlatformSpecific() {}
	private static final String osName = System.getProperty("os.name");
	
	public static boolean isOnWindows() {
		return osName.startsWith("Windows");
	}
	
	public static boolean isOnMac() {
		return osName.startsWith("Mac OS");
	}

	public static boolean isOnLinux() {
		return !isOnWindows() && !isOnMac();
	}

//	public static PlatformSpecific ifWindows(Runnable code) {
//		if (isOnWindows()) {
//			code.run();
//		}
//		return instance;
{'fraction_non_alphanumeric': 0.12314886983632112, 'fraction_numerical': 0.0, 'mean_word_length': 4.5344827586206895, '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': '2876452', 'n_tokens_mistral': 402, 'n_tokens_neox': 370, 'n_words': 104}