<commit_before>package com.adamldavis.z.java;

import com.adamldavis.z.api.CodeFormatter;

public class JavaCodeFormatter implements CodeFormatter {

	@Override
	public String format(String code) {
		return code;
	}

}<commit_msg>Updated JavaCodeFormatter to remove leading whitespace<commit_after>package com.adamldavis.z.java;

import com.adamldavis.z.api.CodeFormatter;

public class JavaCodeFormatter implements CodeFormatter {

	@Override
	public String format(String code) {
		int slength = 0;
		for (; code.charAt(slength) == ' ' || code.charAt(slength) == '\t'; slength++)
			;

		if (slength > 1) {
			return code.replace(code.substring(0, slength), "");
		}

		return code;
	}

}
{'fraction_non_alphanumeric': 0.11901306240928883, 'fraction_numerical': 0.0043541364296081275, 'mean_word_length': 4.609756097560975, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '5100576', 'n_tokens_mistral': 244, 'n_tokens_neox': 222, 'n_words': 51}