Community
Participate
Working Groups
Consider this code: public class A implements Comparable<String> { public int compareTo(String s) { return 0; } } This comment is generated actually by quick fix "Add javadoc comment" for compareTo() method: public class A implements Comparable<String> { /* (non-Javadoc) * @param s * @return * @see java.lang.Comparable#compareTo(T) */ public int compareTo(String s) { return 0; } } The "(T)" in java.lang.Comparable#compareTo(T) should be "(Object)", otherwise if I change the (non-Javadoc) comment to the javadoc comment, a warning: "Javadoc: T cannot be resolved to a type" appear. See also probably related (not - quick-fix) discussion in the bug 83127.
*** This bug has been marked as a duplicate of 87868 ***
Dani, Why did you put a quick-fix issue duplicate as code assist bug 87868? As now Javadoc code assist will be performed by JDT/Core, I need to know precisely the relationship between these two issues Thanks
Accidentally marked as dup.
fixed > 20050928
Verified in I20051031-2000.
Marking as verified...