Hi, I'm using Java 5.0, with Eclipse.
I have this code below, which gives a warning as stated below:
The word comp gets underlined in yellow in eclipse, as shown above in italics, and it says:
Can anyone explain what this means and how I can fix it without just supressing the warning.
Thanks
[ April 19, 2007: Message edited by: colin shuker ]
I have this code below, which gives a warning as stated below:
The word comp gets underlined in yellow in eclipse, as shown above in italics, and it says:
Type safety: The expression of type Comp needs unchecked conversion to conform to Comparator<? super SetObj>
Can anyone explain what this means and how I can fix it without just supressing the warning.
Thanks
[ April 19, 2007: Message edited by: colin shuker ]