R
Roedy Green
I have code like this:
ArrayList<ZD>allZips = (ArrayList<ZD>)ois.readObject();
It complains:
Type safety: The cast from Object to ArrayList<ZD> is actually
checking against the erased type ArrayList.
What do I do to get it to stop complaining, and what is it concerned
about?
--
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/mckinney_grills_rumsfeld.htm
Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes
ArrayList<ZD>allZips = (ArrayList<ZD>)ois.readObject();
It complains:
Type safety: The cast from Object to ArrayList<ZD> is actually
checking against the erased type ArrayList.
What do I do to get it to stop complaining, and what is it concerned
about?
--
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/mckinney_grills_rumsfeld.htm
Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes