-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 1.4.0
-
Component/s: tools
-
beta3
-
generic
-
generic
-
Verified
In the following example, the method description is copied down, but the @param and @return are not. This appears to be contrary to the documentation.
package jd;
public class JD {
/**
* description
*
* @param o object
* @return value
* @throws IOException because
*/
public boolean foo(Object o) throws java.io.IOException {
return false;
}
public static class Bar extends JD {
/**
* @throws IOException why not
*/
public boolean foo(Object o) throws java.io.IOException {
return false;
}
}
}
package jd;
public class JD {
/**
* description
*
* @param o object
* @return value
* @throws IOException because
*/
public boolean foo(Object o) throws java.io.IOException {
return false;
}
public static class Bar extends JD {
/**
* @throws IOException why not
*/
public boolean foo(Object o) throws java.io.IOException {
return false;
}
}
}