Java 7 Redundant Type Argument
So since upgrading to Java 7, I have been getting the "Redundant specification of type arguments" warning on Lists, Maps, ect. It is a warning which I can turn off, so it's not that big of a deal, but I wanted to get everyone's opinions on this warning. Personally, I like the redundant specification from a legibility standpoint. I can see why the compiler would say it is redundant, but I don't really consider it to be from the point of view of reading the code. Is there an actual performance effect on including the redundant specification?
For those unfamiliar with what I am talking about, the compiler will throw the "Redundant specification of type arguments" warning for this code:
Suggesting that you should instead do this:
List<String> someList = new List<String>();
List<String> someList = new List<>();