No warnings printed for missing JD on implicit constructor
Brought to you by:
jeugenepace
With this file:
/**
* This is a class which does something.
*/
public class Foo {
}
doctorj --warning 1 Foo.java
prints nothing. Yet the semantically interchangeable file
/**
* This is a class which does something.
*/
public class Foo {
public Foo() {}
}
produces the warning
Foo.java:5:12:5:14: Undocumented public constructor
Note that Javadoc produces an entry for the constructor
in both cases, so if it has no comment it is really an
omission.