Unchecked assignment warning
In your second case when you do: public void processA(A a) What do you mean by A? Does it mean A<String> or A<List<String>> or what? You might not be using anything related to type of A, but hey the compiler doesn’t know this fact. To compiler, just A is a sign of panic. In your … Read more