I just start to learn Java and I am getting "@SuppressWarnings("unchecked")"
I am sure that one of my static variable is making trouble
static ArrayList<Integer>[] docNumber = (ArrayList<Integer>[]) new ArrayList[20];
eclipse said "Type safety: Unchecked cast from ArrayList[] to ArrayList[]" but i am not really sure how to avoid this problem
can you tell me how to fix this problem?
thanks