Hi all,

Ive compliled my class, say "classA" ok, but i get the warning as per the title of this thread.

The code causing the warning is in my constructor. A static (class) method is being called which returns a Set<String> collection, which is then assigned to an instance variable also of type Set<String>;


public WebPageData(String aString)
{
super();
this.aVariable = aClass.aMethod(aString);
}

I belive this warning is something to do with generics but im not sure what needs to be changed. Any tips much appreciated,

John