I was recently porting a Java 7
project down to Java 6
and I a had some Arraylist
s being initialized with empty type parameters.
Of course it gave quite a few errors because of it only being allowed in Java 7
So then I was wondering; What use do I get from using empty type parameters?
ex.: new Arraylist <>();