<commit_before><commit_msg> test case for unchecked call to generic method<commit_after>package bugIdeas;

import java.util.HashMap;

public class Ideas_2008_12_02 {
	
	HashMap<String,String> map = new HashMap<String,String>();
	HashMap<Object,Object> map2 = new HashMap<Object,Object>();
	
	public void test1() {
		for(String s : map.keySet())
			if (map2.containsKey(s))
				System.out.println("Found intersection");
	}
	public void test2() {
		for(Object o : map2.keySet())
			if (map.containsKey(o))
				System.out.println("Found intersection");
	}
}
{'fraction_non_alphanumeric': 0.1371841155234657, 'fraction_numerical': 0.023465703971119134, 'mean_word_length': 4.967741935483871, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7147624', 'n_tokens_mistral': 202, 'n_tokens_neox': 181, 'n_words': 43}