In Java 6, other than adding @SuppressWarnings("unchecked"), I don’t think so.
This bug report has more information but it boils down to the compiler not liking arrays of generic types.
In Java 6, other than adding @SuppressWarnings("unchecked"), I don’t think so.
This bug report has more information but it boils down to the compiler not liking arrays of generic types.