<commit_before><?xml version="1.0" encoding="UTF-8"?>
<templates>
	<template name="localvariable" description="Local Variable"
		id="org.eclipse.jdt.ui.templates.localvariable" context="java-statements"
		enabled="true" autoinsert="false">
		${variabletype} ${myvar:newName(var)}= new ${variabletype}(${cursor});
	</template>

	<template name="string" description="String (empty)"
		id="org.eclipse.jdt.ui.templates.emptystring" context="java-statements"
		enabled="true" autoinsert="false">
		String ${myvar:newName(var)}= "";
	</template>


	<template name="ifnotnull" description="If not null"
		id="org.eclipse.jdt.ui.templates.ifnotnull" context="java-statements"
		enabled="true" autoinsert="false">
		if (${myvar:newName(variable)}!=null) {
		${cursor}
		}
	</template>

	<template name="ifnull" description="If null"
		id="org.eclipse.jdt.ui.templates.iftnull" context="java-statements"
		enabled="true" autoinsert="false">
		if (${myvar:newName(variable)}==null) {
		${cursor}
		}
	</template>


	<template name="array-string-with-test-data" description="Creates an String array with test data"
		id="org.eclipse.jdt.ui.templates.arrayexample" context="java-statements"
		enabled="true" autoinsert="false">
		String[] ${myvar:newName(values)} =
		new String[]{"Windows 7", "MacOS", "Debian", "Ubuntu", "Redhat",
		"Android", "iPhone", "Suse", "Windows XP", "Windows Mobile", "OS/2",
		"WebOS"};
	</template>

	<template name="list" description="Creates an List"
		id="org.eclipse.jdt.ui.templates.list" context="java-statements"
		enabled="true" autoinsert="false">
		${imp:import(java.util.List, java.util.ArrayList)}List&lt;Object&gt; ${myvar:newName(values)} =
		new ArrayList&lt;&gt;();
	</template>

	<template name="method-public" description="Creates public method"
		id="org.eclipse.jdt.ui.templates.methodpublic" context="java-members"
		enabled="true" autoinsert="false">public void ${name}(${}) {
		${cursor}
		}
	</template>

	<template name="finallyCloseStream"
		description="Creates the finally block for closing a stream" id="org.eclipse.jdt.ui.templates.finallyclosestream"
		context="java-statements" enabled="true" autoinsert="false">
		finally {
		if (stream != null) {<commit_msg>Adds the cursor position for the new ArrayList definition<commit_after><?xml version="1.0" encoding="UTF-8"?>
<templates>
	<template name="localvariable" description="Local Variable"
		id="org.eclipse.jdt.ui.templates.localvariable" context="java-statements"
		enabled="true" autoinsert="false">
		${variabletype} ${myvar:newName(var)}= new ${variabletype}(${cursor});
	</template>

	<template name="string" description="String (empty)"
		id="org.eclipse.jdt.ui.templates.emptystring" context="java-statements"
		enabled="true" autoinsert="false">
		String ${myvar:newName(var)}= "";
	</template>


	<template name="ifnotnull" description="If not null"
		id="org.eclipse.jdt.ui.templates.ifnotnull" context="java-statements"
		enabled="true" autoinsert="false">
		if (${myvar:newName(variable)}!=null) {
		${cursor}
		}
	</template>

	<template name="ifnull" description="If null"
		id="org.eclipse.jdt.ui.templates.iftnull" context="java-statements"
		enabled="true" autoinsert="false">
		if (${myvar:newName(variable)}==null) {
		${cursor}
		}
	</template>


	<template name="array-string-with-test-data" description="Creates an String array with test data"
		id="org.eclipse.jdt.ui.templates.arrayexample" context="java-statements"
		enabled="true" autoinsert="false">
		String[] ${myvar:newName(values)} =
		new String[]{"Windows 7", "MacOS", "Debian", "Ubuntu", "Redhat",
		"Android", "iPhone", "Suse", "Windows XP", "Windows Mobile", "OS/2",
		"WebOS"};
	</template>
	
	

	<template name="list" description="Creates an List"
		id="org.eclipse.jdt.ui.templates.list" context="java-statements"
		enabled="true" autoinsert="false">
		${imp:import(java.util.List, java.util.ArrayList)}List&lt;${cursor}&gt; ${myvar:newName(values)} =
		new ArrayList&lt;&gt;();
	</template>

	<template name="method-public" description="Creates public method"
		id="org.eclipse.jdt.ui.templates.methodpublic" context="java-members"
		enabled="true" autoinsert="false">public void ${name}(${}) {
		${cursor}
		}
	</template>

	<template name="finallyCloseStream"
		description="Creates the finally block for closing a stream" id="org.eclipse.jdt.ui.templates.finallyclosestream"
		context="java-statements" enabled="true" autoinsert="false">
		finally {
		if (stream != null) {
{'fraction_non_alphanumeric': 0.1840751509729367, 'fraction_numerical': 0.002236636099306643, 'mean_word_length': 6.271544715447154, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 2, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '3226101', 'n_tokens_mistral': 1589, 'n_tokens_neox': 1444, 'n_words': 270}