Below is my syntax
List synchronizedpubliesdList = Collections.synchronizedList(publiesdList);
I am getting a syntax error of:
I've had the same warnings in Eclipse and just click on the warning sign and get the option of adding a type argument to the Hash, List, Array or what have you. Big list of discussion here What is a raw type and why shouldn't we use it?