So code that looked like this before:
List<String> programmingLanguages = new ArrayList<String>(3);
programmingLanguages.add("Java");
programmingLanguages.add("C++");
programmingLanguages.add("Ruby");
Now looks like this:
List<String> programmingLanguages = CollectionUtils.newList(
"Java", "C++", "Ruby");
With all the focus on type safety, it refreshing to see an interesting use for Generics. Is this just and edge case or are there any other techniques that you’ve discovered and would like to share.